public class

TlsNullCipher

extends Object
implements TlsCipher
java.lang.Object
   ↳ org.bouncycastle.crypto.tls.TlsNullCipher

Class Overview

A NULL CipherSuite in java, this should only be used during handshake.

Summary

Public Constructors
TlsNullCipher()
Public Methods
byte[] decodeCiphertext(short type, byte[] ciphertext, int offset, int len)
byte[] encodePlaintext(short type, byte[] plaintext, int offset, int len)
Protected Methods
byte[] copyData(byte[] text, int offset, int len)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.crypto.tls.TlsCipher

Public Constructors

public TlsNullCipher ()

Public Methods

public byte[] decodeCiphertext (short type, byte[] ciphertext, int offset, int len)

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

Protected Methods

protected byte[] copyData (byte[] text, int offset, int len)