|
Bouncy Castle Cryptography Library 1.64 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.crypto.tls.TlsAEADCipher
Field Summary | |
protected TlsContext |
context
Deprecated. |
protected AEADBlockCipher |
decryptCipher
Deprecated. |
protected byte[] |
decryptImplicitNonce
Deprecated. |
protected AEADBlockCipher |
encryptCipher
Deprecated. |
protected byte[] |
encryptImplicitNonce
Deprecated. |
protected int |
macSize
Deprecated. |
static int |
NONCE_RFC5288
Deprecated. |
protected int |
nonceMode
Deprecated. |
protected int |
record_iv_length
Deprecated. |
Constructor Summary | |
TlsAEADCipher(TlsContext context,
AEADBlockCipher clientWriteCipher,
AEADBlockCipher serverWriteCipher,
int cipherKeySize,
int macSize)
Deprecated. |
Method Summary | |
byte[] |
decodeCiphertext(long seqNo,
short type,
byte[] ciphertext,
int offset,
int len)
Deprecated. |
byte[] |
encodePlaintext(long seqNo,
short type,
byte[] plaintext,
int offset,
int len)
Deprecated. |
protected byte[] |
getAdditionalData(long seqNo,
short type,
int len)
Deprecated. |
int |
getPlaintextLimit(int ciphertextLimit)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NONCE_RFC5288
protected TlsContext context
protected int macSize
protected int record_iv_length
protected AEADBlockCipher encryptCipher
protected AEADBlockCipher decryptCipher
protected byte[] encryptImplicitNonce
protected byte[] decryptImplicitNonce
protected int nonceMode
Constructor Detail |
public TlsAEADCipher(TlsContext context, AEADBlockCipher clientWriteCipher, AEADBlockCipher serverWriteCipher, int cipherKeySize, int macSize) throws java.io.IOException
Method Detail |
public int getPlaintextLimit(int ciphertextLimit)
getPlaintextLimit
in interface TlsCipher
public byte[] encodePlaintext(long seqNo, short type, byte[] plaintext, int offset, int len) throws java.io.IOException
encodePlaintext
in interface TlsCipher
public byte[] decodeCiphertext(long seqNo, short type, byte[] ciphertext, int offset, int len) throws java.io.IOException
decodeCiphertext
in interface TlsCipher
protected byte[] getAdditionalData(long seqNo, short type, int len) throws java.io.IOException
|
Bouncy Castle Cryptography Library 1.64 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |