|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mozilla.jss.ssl.TestCertApprovalCallback
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
Inner classes inherited from class org.mozilla.jss.ssl.SSLCertificateApprovalCallback |
SSLCertificateApprovalCallback.ValidityItem,
SSLCertificateApprovalCallback.ValidityStatus |
Constructor Summary | |
TestCertApprovalCallback()
|
Method Summary | |
boolean |
approve(X509Certificate servercert,
SSLCertificateApprovalCallback.ValidityStatus status)
This method is called when the server sends it's certificate to the client. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TestCertApprovalCallback()
Method Detail |
public boolean approve(X509Certificate servercert, SSLCertificateApprovalCallback.ValidityStatus status)
cert
- the peer's server certificatestatus
- the ValidityStatus object containing a list
of all the problems with the cert
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |