Zdexby TheHolyOneZ
49,743 classes
Class

TlsBlockCipher

: Object
Best.HTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto.Impl.TlsBlockCipher, com.Tivadar.Best.HTTP 0x0048 (72 B) inherited 0x0010 com.Tivadar.Best.HTTP.dll
implements TlsCipher
0x00x0048

Members 10

OffsetSizeNameTypeFlagsDefault
0x08m_cryptoParamsTlsCryptoParameters2 flags—
0x08m_randomDatabyte[]2 flags—
0x01m_encryptThenMacbool2 flags—
0x01m_useExplicitIVbool2 flags—
0x01m_acceptExtraPaddingbool2 flags—
0x01m_useExtraPaddingbool2 flags—
0x00240x04padding / unreflected
0x08m_decryptCipherTlsBlockCipherImpl2 flags—
0x08m_encryptCipherTlsBlockCipherImpl2 flags—
0x08m_readMacTlsSuiteMac2 flags—
0x08m_writeMacTlsSuiteMac2 flags—

Functions 13

SignatureFlagsNativeParams
void .ctor(TlsCryptoParameters cryptoParams, TlsBlockCipherImpl encryptCipher, TlsBlockCipherImpl decryptCipher, TlsHmac clientMac, TlsHmac serverMac, int cipherKeySize)Public+1 flags—0x08
int GetCiphertextDecodeLimit(int plaintextLimit)Public+2 flags—0x04
int GetCiphertextEncodeLimit(int plaintextLength, int plaintextLimit)Public+2 flags—0x04
int GetPlaintextLimit(int ciphertextLimit)Public+2 flags—0x04
TlsEncodeResult EncodePlaintext(long seqNo, short contentType, ProtocolVersion recordVersion, int headerAllocation, const byte[]& plaintext, int offset, int len)Public+2 flags—0x18
TlsEncodeResult EncodePlaintext(long seqNo, short contentType, ProtocolVersion recordVersion, int headerAllocation, const ReadOnlySpan<System.Byte>& plaintext)Public+2 flags—0x18
TlsDecodeResult DecodeCiphertext(long seqNo, short recordType, ProtocolVersion recordVersion, const byte[]& ciphertext, int offset, int len)Public+2 flags—0x08
void RekeyDecoder()Public+2 flags0x00
void RekeyEncoder()Public+2 flags0x00
bool get_UsesOpaqueRecordType()Public+3 flags0x01
int CheckPaddingConstantTime(const byte[]& buf, int off, int len, int blockSize, int macSize)3 flags0x08
int ChooseExtraPadBlocks(int max)3 flags0x04
int GetCiphertextLength(int blockSize, int macSize, int maxPadding, int plaintextLength)3 flags0x04