implements TlsCipher
0x00x0048
Members 10
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_cryptoParams | TlsCryptoParameters | 2 flags | — | |
| 0x08 | m_randomData | byte[] | 2 flags | — | |
| 0x01 | m_encryptThenMac | bool | 2 flags | — | |
| 0x01 | m_useExplicitIV | bool | 2 flags | — | |
| 0x01 | m_acceptExtraPadding | bool | 2 flags | — | |
| 0x01 | m_useExtraPadding | bool | 2 flags | — | |
| 0x0024 | 0x04 | padding / unreflected | |||
| 0x08 | m_decryptCipher | TlsBlockCipherImpl | 2 flags | — | |
| 0x08 | m_encryptCipher | TlsBlockCipherImpl | 2 flags | — | |
| 0x08 | m_readMac | TlsSuiteMac | 2 flags | — | |
| 0x08 | m_writeMac | TlsSuiteMac | 2 flags | — | |
Functions 13
| Signature | Flags | Native | Params |
|---|---|---|---|
| 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 flags | 0x00 | |
| void RekeyEncoder() | Public+2 flags | 0x00 | |
| bool get_UsesOpaqueRecordType() | Public+3 flags | 0x01 | |
| int CheckPaddingConstantTime(const byte[]& buf, int off, int len, int blockSize, int macSize) | 3 flags | 0x08 | |
| int ChooseExtraPadBlocks(int max) | 3 flags | 0x04 | |
| int GetCiphertextLength(int blockSize, int macSize, int maxPadding, int plaintextLength) | 3 flags | 0x04 |