org.mozilla.jss.ssl
public class TestCertApprovalCallback extends java.lang.Object implements SSLCertificateApprovalCallback
SSLCertificateApprovalCallback.ValidityItem, SSLCertificateApprovalCallback.ValidityStatus
Constructor and Description |
---|
TestCertApprovalCallback() |
Modifier and Type | Method and Description |
---|---|
boolean |
approve(X509Certificate servercert,
SSLCertificateApprovalCallback.ValidityStatus status)
This method is called when the server sends it's certificate to
the client.
|
public boolean approve(X509Certificate servercert, SSLCertificateApprovalCallback.ValidityStatus status)
SSLCertificateApprovalCallback
approve
in interface SSLCertificateApprovalCallback
servercert
- the peer's server certificatestatus
- the ValidityStatus object containing a list
of all the problems with the cert