You are currently viewing a snapshot of taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to, please file a bug.

Class SSLCertificateApprovalCallback.ValidityItem

  extended by org.mozilla.jss.ssl.SSLCertificateApprovalCallback.ValidityItem
Enclosing interface:

public static class SSLCertificateApprovalCallback.ValidityItem
extends java.lang.Object

Constructor Summary
SSLCertificateApprovalCallback.ValidityItem(int reason, PK11Cert cert, int depth)
Method Summary
 PK11Cert getCert()
 int getDepth()
 int getReason()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SSLCertificateApprovalCallback.ValidityItem(int reason,
                                                   PK11Cert cert,
                                                   int depth)
Method Detail


public int getReason()
the NSS error code which caused the error - see the list of error codes above for those which could be returned


public int getDepth()
the index into the cert chain of the certificate which caused this error. In a chain 5-certs long, 0 is the server-cert. 1,2,3 would be the intermediates, and 4 would be the root


public PK11Cert getCert()
the certificate associated with this error. You can use the X509Certificate functions to get details such as issuer/subject name, serial number, etc.