Bouncy Castle Cryptography Library 1.46

org.bouncycastle.crypto.tls
Interface TlsCipher

All Known Implementing Classes:
TlsBlockCipher, TlsNullCipher

public interface TlsCipher


Method Summary
 byte[] decodeCiphertext(short type, byte[] ciphertext, int offset, int len)
           
 byte[] encodePlaintext(short type, byte[] plaintext, int offset, int len)
           
 

Method Detail

encodePlaintext

byte[] encodePlaintext(short type,
                       byte[] plaintext,
                       int offset,
                       int len)
                       throws java.io.IOException
Throws:
java.io.IOException

decodeCiphertext

byte[] decodeCiphertext(short type,
                        byte[] ciphertext,
                        int offset,
                        int len)
                        throws java.io.IOException
Throws:
java.io.IOException

Bouncy Castle Cryptography Library 1.46