|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mozilla.jss.ssl.TestCertApprovalCallback
public class 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
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestCertApprovalCallback()
| Method Detail |
|---|
public boolean approve(X509Certificate servercert,
SSLCertificateApprovalCallback.ValidityStatus status)
SSLCertificateApprovalCallback
approve in interface SSLCertificateApprovalCallbackservercert - 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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||