Bouncy Castle Cryptography 1.46

org.bouncycastle.crypto.tls
Interface TlsKeyExchange


public interface TlsKeyExchange

A generic interface for key exchange implementations in TLS 1.0.


Method Summary
 void generateClientKeyExchange(java.io.OutputStream os)
           
 byte[] generatePremasterSecret()
           
 void processClientCredentials(TlsCredentials clientCredentials)
           
 void processServerCertificate(Certificate serverCertificate)
           
 void processServerKeyExchange(java.io.InputStream is)
           
 void skipClientCredentials()
           
 void skipServerCertificate()
           
 void skipServerKeyExchange()
           
 void validateCertificateRequest(CertificateRequest certificateRequest)
           
 

Method Detail

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

Bouncy Castle Cryptography 1.46