org.bouncycastle.crypto.tls
Interface TlsKeyExchange
public interface TlsKeyExchange
A generic interface for key exchange implementations in TLS 1.0.
skipServerCertificate
void skipServerCertificate()
throws java.io.IOException
- Throws:
java.io.IOException
processServerCertificate
void processServerCertificate(Certificate serverCertificate)
throws java.io.IOException
- Throws:
java.io.IOException
skipServerKeyExchange
void skipServerKeyExchange()
throws java.io.IOException
- Throws:
java.io.IOException
processServerKeyExchange
void processServerKeyExchange(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
validateCertificateRequest
void validateCertificateRequest(CertificateRequest certificateRequest)
throws java.io.IOException
- Throws:
java.io.IOException
skipClientCredentials
void skipClientCredentials()
throws java.io.IOException
- Throws:
java.io.IOException
processClientCredentials
void processClientCredentials(TlsCredentials clientCredentials)
throws java.io.IOException
- Throws:
java.io.IOException
generateClientKeyExchange
void generateClientKeyExchange(java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
generatePremasterSecret
byte[] generatePremasterSecret()
throws java.io.IOException
- Throws:
java.io.IOException