diff options
Diffstat (limited to 'src/main/java/org/bouncycastle/crypto/tls/TlsCipher.java')
-rw-r--r-- | src/main/java/org/bouncycastle/crypto/tls/TlsCipher.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/org/bouncycastle/crypto/tls/TlsCipher.java b/src/main/java/org/bouncycastle/crypto/tls/TlsCipher.java index ebb99888..c7dcec96 100644 --- a/src/main/java/org/bouncycastle/crypto/tls/TlsCipher.java +++ b/src/main/java/org/bouncycastle/crypto/tls/TlsCipher.java @@ -6,7 +6,9 @@ public interface TlsCipher {
int getPlaintextLimit(int ciphertextLimit);
- byte[] encodePlaintext(long seqNo, short type, byte[] plaintext, int offset, int len) throws IOException;
+ byte[] encodePlaintext(long seqNo, short type, byte[] plaintext, int offset, int len)
+ throws IOException;
- byte[] decodeCiphertext(long seqNo, short type, byte[] ciphertext, int offset, int len) throws IOException;
+ byte[] decodeCiphertext(long seqNo, short type, byte[] ciphertext, int offset, int len)
+ throws IOException;
}
|