|
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.TlsNullCipher
A NULL CipherSuite with optional MAC
Field Summary | |
protected TlsContext |
context
Deprecated. |
protected TlsMac |
readMac
Deprecated. |
protected TlsMac |
writeMac
Deprecated. |
Constructor Summary | |
TlsNullCipher(TlsContext context)
Deprecated. |
|
TlsNullCipher(TlsContext context,
Digest clientWriteDigest,
Digest serverWriteDigest)
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. |
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 |
protected TlsContext context
protected TlsMac writeMac
protected TlsMac readMac
Constructor Detail |
public TlsNullCipher(TlsContext context)
public TlsNullCipher(TlsContext context, Digest clientWriteDigest, Digest serverWriteDigest) 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
|
Bouncy Castle Cryptography Library 1.64 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |