org.mozilla.jss.ssl

Class TestCertApprovalCallback

public class TestCertApprovalCallback extends Object implements SSLCertificateApprovalCallback

This is a test implementation of the certificate approval callback which gets invoked when the server presents a certificate which is not trusted by the client
Method Summary
booleanapprove(X509Certificate servercert, SSLCertificateApprovalCallback.ValidityStatus status)

Method Detail

approve

public boolean approve(X509Certificate servercert, SSLCertificateApprovalCallback.ValidityStatus status)