C# Class Org.BouncyCastle.Crypto.Tls.TlsAeadCipher

Inheritance: TlsCipher
Mostrar archivo Open project: gkardava/WinPass

Protected Properties

Property Type Description
context TlsContext
decryptCipher IAeadBlockCipher
encryptCipher IAeadBlockCipher
encryptImplicitNonce byte[]
macSize int
nonceMode int
record_iv_length int

Public Methods

Method Description
DecodeCiphertext ( long seqNo, byte type, byte ciphertext, int offset, int len ) : byte[]
EncodePlaintext ( long seqNo, byte type, byte plaintext, int offset, int len ) : byte[]
GetPlaintextLimit ( int ciphertextLimit ) : int
TlsAeadCipher ( TlsContext context, IAeadBlockCipher clientWriteCipher, IAeadBlockCipher serverWriteCipher, int cipherKeySize, int macSize ) : System

Protected Methods

Method Description
GetAdditionalData ( long seqNo, byte type, int len ) : byte[]

Private Methods

Method Description
TlsAeadCipher ( TlsContext context, IAeadBlockCipher clientWriteCipher, IAeadBlockCipher serverWriteCipher, int cipherKeySize, int macSize, int nonceMode ) : System

Method Details

DecodeCiphertext() public method

public DecodeCiphertext ( long seqNo, byte type, byte ciphertext, int offset, int len ) : byte[]
seqNo long
type byte
ciphertext byte
offset int
len int
return byte[]

EncodePlaintext() public method

public EncodePlaintext ( long seqNo, byte type, byte plaintext, int offset, int len ) : byte[]
seqNo long
type byte
plaintext byte
offset int
len int
return byte[]

GetAdditionalData() protected method

protected GetAdditionalData ( long seqNo, byte type, int len ) : byte[]
seqNo long
type byte
len int
return byte[]

GetPlaintextLimit() public method

public GetPlaintextLimit ( int ciphertextLimit ) : int
ciphertextLimit int
return int

TlsAeadCipher() public method

public TlsAeadCipher ( TlsContext context, IAeadBlockCipher clientWriteCipher, IAeadBlockCipher serverWriteCipher, int cipherKeySize, int macSize ) : System
context TlsContext
clientWriteCipher IAeadBlockCipher
serverWriteCipher IAeadBlockCipher
cipherKeySize int
macSize int
return System

Property Details

context protected_oe property

protected TlsContext context
return TlsContext

decryptCipher protected_oe property

protected IAeadBlockCipher decryptCipher
return IAeadBlockCipher

encryptCipher protected_oe property

protected IAeadBlockCipher encryptCipher
return IAeadBlockCipher

encryptImplicitNonce protected_oe property

protected byte[] encryptImplicitNonce
return byte[]

macSize protected_oe property

protected int macSize
return int

nonceMode protected_oe property

protected int nonceMode
return int

record_iv_length protected_oe property

protected int record_iv_length
return int