Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.crypto.tls;
 
 
 public interface TlsAuthentication
 {
    
Called by the protocol handler to report the server certificate Note: this method is responsible for certificate verification and validation

Parameters:
serverCertificate the server certificate received
Throws:
java.io.IOException
    void notifyServerCertificate(Certificate serverCertificate)
        throws IOException;

    
Return client credentials in response to server's certificate request

Parameters:
certificateRequest details of the certificate request
Returns:
a TlsCredentials object or null for no client authentication
Throws:
java.io.IOException
        throws IOException;
New to GrepCode? Check out our FAQ X