public interface TlsKeyExchange
| Modifier and Type | Method and Description |
|---|---|
void |
generateClientKeyExchange(java.io.OutputStream output) |
TlsSecret |
generatePreMasterSecret() |
byte[] |
generateServerKeyExchange() |
short[] |
getClientCertificateTypes() |
void |
init(TlsContext context) |
void |
processClientCertificate(Certificate clientCertificate) |
void |
processClientCredentials(TlsCredentials clientCredentials) |
void |
processClientKeyExchange(java.io.InputStream input) |
void |
processServerCertificate(Certificate serverCertificate) |
void |
processServerCredentials(TlsCredentials serverCredentials) |
void |
processServerKeyExchange(java.io.InputStream input) |
boolean |
requiresCertificateVerify() |
boolean |
requiresServerKeyExchange() |
void |
skipClientCredentials() |
void |
skipServerCredentials() |
void |
skipServerKeyExchange() |
void init(TlsContext context)
void skipServerCredentials()
throws java.io.IOException
java.io.IOExceptionvoid processServerCredentials(TlsCredentials serverCredentials) throws java.io.IOException
java.io.IOExceptionvoid processServerCertificate(Certificate serverCertificate) throws java.io.IOException
java.io.IOExceptionboolean requiresServerKeyExchange()
byte[] generateServerKeyExchange()
throws java.io.IOException
java.io.IOExceptionvoid skipServerKeyExchange()
throws java.io.IOException
java.io.IOExceptionvoid processServerKeyExchange(java.io.InputStream input)
throws java.io.IOException
java.io.IOExceptionshort[] getClientCertificateTypes()
void skipClientCredentials()
throws java.io.IOException
java.io.IOExceptionvoid processClientCredentials(TlsCredentials clientCredentials) throws java.io.IOException
java.io.IOExceptionvoid processClientCertificate(Certificate clientCertificate) throws java.io.IOException
java.io.IOExceptionvoid generateClientKeyExchange(java.io.OutputStream output)
throws java.io.IOException
java.io.IOExceptionvoid processClientKeyExchange(java.io.InputStream input)
throws java.io.IOException
java.io.IOExceptionboolean requiresCertificateVerify()
TlsSecret generatePreMasterSecret() throws java.io.IOException
java.io.IOException