org.bouncycastle.crypto.tls.TlsCipher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.bcprov-jdk16
Show all versions of org.apache.servicemix.bundles.bcprov-jdk16
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
The newest version!
package org.bouncycastle.crypto.tls;
import java.io.IOException;
public 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;
}