public interface TlsKeyExchange
Modifier and Type | Method and Description |
---|---|
void |
generateClientKeyExchange(OutputStream output) |
byte[] |
generatePremasterSecret() |
byte[] |
generateServerKeyExchange() |
void |
init(TlsContext context) |
void |
processClientCertificate(Certificate clientCertificate) |
void |
processClientCredentials(TlsCredentials clientCredentials) |
void |
processClientKeyExchange(InputStream input) |
void |
processServerCertificate(Certificate serverCertificate) |
void |
processServerCredentials(TlsCredentials serverCredentials) |
void |
processServerKeyExchange(InputStream input) |
boolean |
requiresServerKeyExchange() |
void |
skipClientCredentials() |
void |
skipServerCredentials() |
void |
skipServerKeyExchange() |
void |
validateCertificateRequest(CertificateRequest certificateRequest) |
void init(TlsContext context)
void skipServerCredentials() throws IOException
IOException
void processServerCredentials(TlsCredentials serverCredentials) throws IOException
IOException
void processServerCertificate(Certificate serverCertificate) throws IOException
IOException
boolean requiresServerKeyExchange()
byte[] generateServerKeyExchange() throws IOException
IOException
void skipServerKeyExchange() throws IOException
IOException
void processServerKeyExchange(InputStream input) throws IOException
IOException
void validateCertificateRequest(CertificateRequest certificateRequest) throws IOException
IOException
void skipClientCredentials() throws IOException
IOException
void processClientCredentials(TlsCredentials clientCredentials) throws IOException
IOException
void processClientCertificate(Certificate clientCertificate) throws IOException
IOException
void generateClientKeyExchange(OutputStream output) throws IOException
IOException
void processClientKeyExchange(InputStream input) throws IOException
IOException
byte[] generatePremasterSecret() throws IOException
IOException