Package org.mozilla.jss.nss
Class SECErrors
- java.lang.Object
-
- org.mozilla.jss.nss.SECErrors
-
public class SECErrors extends java.lang.Object
This class provides access to useful NSS errors, getting their values from a JNI call. Note that it *isn't* an enum as the NSS wrappers return int. This saves us from having to wrap every NSS error in a class instance only to later unwrap it to make any useful calls.
-
-
Field Summary
Fields Modifier and Type Field Description static int
BAD_DER
Improperly encoded DER message.static int
CERT_NOT_VALID
Certificate valid start date is in the future.static int
EXPIRED_CERTIFICATE
Expired Certificate.static int
REVOKED_CERTIFICATE
Certificate was revoked by the issuer.static int
REVOKED_CERTIFICATE_OCSP
Certificate was revoked by the OCSP responder.static int
UNTRUSTED_CERT
Certificate was marked as untrusted.static int
UNTRUSTED_ISSUER
Certificate was signed by an untrusted issuer.
-
Constructor Summary
Constructors Constructor Description SECErrors()
-
-
-
Field Detail
-
BAD_DER
public static final int BAD_DER
Improperly encoded DER message. See also: SEC_ERROR_BAD_DER in /usr/include/nss3/secerr.h
-
EXPIRED_CERTIFICATE
public static final int EXPIRED_CERTIFICATE
Expired Certificate. See also: SEC_ERROR_EXPIRED_CERTIFICATE in /usr/include/nss3/secerr.h
-
CERT_NOT_VALID
public static final int CERT_NOT_VALID
Certificate valid start date is in the future. See also: SEC_ERROR_CERT_NOT_VALID in /usr/include/nss3/secerr.h
-
REVOKED_CERTIFICATE_OCSP
public static final int REVOKED_CERTIFICATE_OCSP
Certificate was revoked by the OCSP responder. See also: SEC_ERROR_REVOKED_CERTIFICATE_OCSP in /usr/include/nss3/secerr.h
-
REVOKED_CERTIFICATE
public static final int REVOKED_CERTIFICATE
Certificate was revoked by the issuer. See also: SEC_ERROR_REVOKED_CERTIFICATE in /usr/include/nss3/secerr.h
-
UNTRUSTED_ISSUER
public static final int UNTRUSTED_ISSUER
Certificate was signed by an untrusted issuer. See also: SEC_ERROR_UNTRUSTED_ISSUER in /usr/include/nss3/secerr.h
-
UNTRUSTED_CERT
public static final int UNTRUSTED_CERT
Certificate was marked as untrusted. See also: SEC_ERROR_UNTRUSTED_CERT in /usr/include/nss3/secerr.h
-
-