Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.crypto.tls;
 
A generic interface for key exchange implementations in (D)TLS.
 
public interface TlsKeyExchange
    void init(TlsContext context);
    void skipServerCredentials()
        throws IOException;
    void processServerCredentials(TlsCredentials serverCredentials)
        throws IOException;
    void processServerCertificate(Certificate serverCertificate)
        throws IOException;
    boolean requiresServerKeyExchange();
    byte[] generateServerKeyExchange()
        throws IOException;
    void skipServerKeyExchange()
        throws IOException;
        throws IOException;
    void validateCertificateRequest(CertificateRequest certificateRequest)
        throws IOException;
    void skipClientCredentials()
        throws IOException;
    void processClientCredentials(TlsCredentials clientCredentials)
        throws IOException;
    void processClientCertificate(Certificate clientCertificate)
        throws IOException;
        throws IOException;
        throws IOException;
    byte[] generatePremasterSecret()
        throws IOException;
New to GrepCode? Check out our FAQ X