net.jradius.tls.TlsCipher Maven / Gradle / Ivy
package net.jradius.tls;
import java.io.IOException;
interface TlsCipher
{
byte[] encodePlaintext(short type, byte[] plaintext, int offset, int len) throws IOException;
byte[] decodeCiphertext(short type, byte[] ciphertext, int offset, int len) throws IOException;
}