Property | Type | Description | |
---|---|---|---|
context | TlsClientContext | ||
decryptCipher | IBlockCipher | ||
encryptCipher | IBlockCipher | ||
rMac | |||
wMac |
Method | Description | |
---|---|---|
DecodeCiphertext ( Org.BouncyCastle.Crypto.Tls.ContentType type, byte ciphertext, int offset, int len ) : byte[] | ||
EncodePlaintext ( Org.BouncyCastle.Crypto.Tls.ContentType type, byte plaintext, int offset, int len ) : byte[] | ||
TlsBlockCipher ( TlsClientContext context, IBlockCipher encryptCipher, IBlockCipher decryptCipher, IDigest writeDigest, IDigest readDigest, int cipherKeySize ) : System |
Method | Description | |
---|---|---|
ChooseExtraPadBlocks ( |
||
CreateKeyParameter ( byte buf, int &off, int len ) : |
||
CreateParametersWithIV ( |
||
CreateTlsMac ( IDigest digest, byte buf, int &off ) : |
Method | Description | |
---|---|---|
LowestBitSet ( uint x ) : int |
protected ChooseExtraPadBlocks ( |
||
r | ||
max | int | |
return | int |
protected CreateKeyParameter ( byte buf, int &off, int len ) : |
||
buf | byte | |
off | int | |
len | int | |
return |
protected CreateParametersWithIV ( |
||
key | ||
buf | byte | |
off | int | |
len | int | |
return |
protected CreateTlsMac ( IDigest digest, byte buf, int &off ) : |
||
digest | IDigest | |
buf | byte | |
off | int | |
return |
public DecodeCiphertext ( Org.BouncyCastle.Crypto.Tls.ContentType type, byte ciphertext, int offset, int len ) : byte[] | ||
type | Org.BouncyCastle.Crypto.Tls.ContentType | |
ciphertext | byte | |
offset | int | |
len | int | |
return | byte[] |
public EncodePlaintext ( Org.BouncyCastle.Crypto.Tls.ContentType type, byte plaintext, int offset, int len ) : byte[] | ||
type | Org.BouncyCastle.Crypto.Tls.ContentType | |
plaintext | byte | |
offset | int | |
len | int | |
return | byte[] |
public TlsBlockCipher ( TlsClientContext context, IBlockCipher encryptCipher, IBlockCipher decryptCipher, IDigest writeDigest, IDigest readDigest, int cipherKeySize ) : System | ||
context | TlsClientContext | |
encryptCipher | IBlockCipher | |
decryptCipher | IBlockCipher | |
writeDigest | IDigest | |
readDigest | IDigest | |
cipherKeySize | int | |
return | System |