Package org.bouncycastle.crypto.tls
Class TlsNullCipher
- java.lang.Object
-
- org.bouncycastle.crypto.tls.TlsNullCipher
-
-
Constructor Summary
Constructors Constructor Description TlsNullCipher(TlsContext context)
Deprecated.TlsNullCipher(TlsContext context, Digest clientWriteDigest, Digest serverWriteDigest)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.
-
-
-
Field Detail
-
context
protected TlsContext context
Deprecated.
-
writeMac
protected TlsMac writeMac
Deprecated.
-
readMac
protected TlsMac readMac
Deprecated.
-
-
Constructor Detail
-
TlsNullCipher
public TlsNullCipher(TlsContext context)
Deprecated.
-
TlsNullCipher
public TlsNullCipher(TlsContext context, Digest clientWriteDigest, Digest serverWriteDigest) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
-
Method Detail
-
getPlaintextLimit
public int getPlaintextLimit(int ciphertextLimit)
Deprecated.- Specified by:
getPlaintextLimit
in interfaceTlsCipher
-
encodePlaintext
public byte[] encodePlaintext(long seqNo, short type, byte[] plaintext, int offset, int len) throws java.io.IOException
Deprecated.- Specified by:
encodePlaintext
in interfaceTlsCipher
- Throws:
java.io.IOException
-
decodeCiphertext
public byte[] decodeCiphertext(long seqNo, short type, byte[] ciphertext, int offset, int len) throws java.io.IOException
Deprecated.- Specified by:
decodeCiphertext
in interfaceTlsCipher
- Throws:
java.io.IOException
-
-