JSS 3.1

org.mozilla.jss.ssl
Class TestCertApprovalCallback

java.lang.Object
  |
  +--org.mozilla.jss.ssl.TestCertApprovalCallback

public class TestCertApprovalCallback
extends java.lang.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


Constructor Summary
TestCertApprovalCallback()
           
 
Method Summary
 boolean approve(X509Certificate servercert, SSLCertificateApprovalCallback.ValidityStatus status)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

TestCertApprovalCallback

public TestCertApprovalCallback()
Method Detail

approve

public boolean approve(X509Certificate servercert,
                       SSLCertificateApprovalCallback.ValidityStatus status)
Specified by:
approve in interface SSLCertificateApprovalCallback

JSS 3.1