Top Description Methods
org.bouncycastle.tls

public Interface TlsKeyExchange

Known Direct Implementers
org.bouncycastle.tls.AbstractTlsKeyExchange
Imports
java.io.IOException, .InputStream, .OutputStream, org.bouncycastle.tls.crypto.TlsSecret

A generic interface for key exchange implementations in (D)TLS.

Method Summary

Modifier and TypeMethod and Description
public void
public TlsSecret
public byte[]
public short[]
public void
init(TlsContext context)

public void
public void
public void
public void
public void
public void
public boolean
public boolean
public void
public void
public void

Method Detail

generateClientKeyExchangeback to summary
public void generateClientKeyExchange(OutputStream output) throws IOException
generatePreMasterSecretback to summary
public TlsSecret generatePreMasterSecret() throws IOException
generateServerKeyExchangeback to summary
public byte[] generateServerKeyExchange() throws IOException
getClientCertificateTypesback to summary
public short[] getClientCertificateTypes()
initback to summary
public void init(TlsContext context)
processClientCertificateback to summary
public void processClientCertificate(Certificate clientCertificate) throws IOException
processClientCredentialsback to summary
public void processClientCredentials(TlsCredentials clientCredentials) throws IOException
processClientKeyExchangeback to summary
public void processClientKeyExchange(InputStream input) throws IOException
processServerCertificateback to summary
public void processServerCertificate(Certificate serverCertificate) throws IOException
processServerCredentialsback to summary
public void processServerCredentials(TlsCredentials serverCredentials) throws IOException
processServerKeyExchangeback to summary
public void processServerKeyExchange(InputStream input) throws IOException
requiresCertificateVerifyback to summary
public boolean requiresCertificateVerify()
requiresServerKeyExchangeback to summary
public boolean requiresServerKeyExchange()
skipClientCredentialsback to summary
public void skipClientCredentials() throws IOException
skipServerCredentialsback to summary
public void skipServerCredentials() throws IOException
skipServerKeyExchangeback to summary
public void skipServerKeyExchange() throws IOException