org.bouncycastle.crypto.tls

Class TlsNullCipherSuite

public class TlsNullCipherSuite extends TlsCipherSuite

A NULL CipherSuite in java, this should only be used during handshake.
Method Summary
protected byte[]decodeCiphertext(short type, byte[] plaintext, int offset, int len, TlsProtocolHandler handler)
protected byte[]encodePlaintext(short type, byte[] plaintext, int offset, int len)
protected shortgetKeyExchangeAlgorithm()
protected voidinit(byte[] ms, byte[] cr, byte[] sr)

Method Detail

decodeCiphertext

protected byte[] decodeCiphertext(short type, byte[] plaintext, int offset, int len, TlsProtocolHandler handler)

encodePlaintext

protected byte[] encodePlaintext(short type, byte[] plaintext, int offset, int len)

getKeyExchangeAlgorithm

protected short getKeyExchangeAlgorithm()

init

protected void init(byte[] ms, byte[] cr, byte[] sr)