|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--java.lang.SecurityException | +--com.ibm.security12.sun.security.x509.CertException
CertException indicates one of a variety of certificate problems.
Certificate
, Serialized FormField Summary | |
static int |
err_CONSTRUCTION
Deprecated. Indicates an error constructing a certificate or certificate chain. |
static int |
err_ENCODING
Deprecated. Indicates a problem with the certificate encoding |
static int |
err_INVALID_FORMAT
Deprecated. Indicates a problem with the certificate format |
static int |
err_INVALID_PUBLIC_KEY
Deprecated. Indicates a problem with the public key |
static int |
err_INVALID_VERSION
Deprecated. Indicates a problem with the certificate version |
static int |
verf_CA_UNTRUSTED
Deprecated. Indicates that a certificate authority in the certification chain is not trusted. |
static int |
verf_CHAIN_LENGTH
Deprecated. Indicates that the certification chain is too long. |
static int |
verf_INVALID_EXPIRED
Deprecated. Indicates that the certificate has expired and so is not valid. |
static int |
verf_INVALID_NOTBEFORE
Deprecated. Indicates that the certificate is not yet valid. |
static int |
verf_INVALID_REVOKED
Deprecated. Indicates that the certificate was revoked, and so is invalid. |
static int |
verf_INVALID_SIG
Deprecated. Indicates that the signature in the certificate is not valid. |
static int |
verf_PARSE_ERROR
Deprecated. Indicates an error parsing the ASN.1/DER encoding of the certificate. |
Constructor Summary | |
CertException(int code)
Deprecated. Constructs a certificate exception using just an error code, without a string describing the context. |
|
CertException(int code,
String moredata)
Deprecated. Constructs a certificate exception using an error code ( verf_* ) and a string describing the context
of the error. |
Method Summary | |
String |
getMessage()
Deprecated. Returns a string describing the certificate exception. |
String |
getMoreData()
Deprecated. Returns a string describing the context in which the exception was reported. |
int |
getVerfCode()
Deprecated. Returns the error code with which the exception was created. |
String |
getVerfDescription()
Deprecated. Return a string corresponding to the error code used to create this exception. |
String |
toString()
Deprecated. Returns a string describing the certificate exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
printStackTrace,
printStackTrace,
printStackTrace |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int verf_INVALID_SIG
public static final int verf_INVALID_REVOKED
public static final int verf_INVALID_NOTBEFORE
public static final int verf_INVALID_EXPIRED
public static final int verf_CA_UNTRUSTED
public static final int verf_CHAIN_LENGTH
public static final int verf_PARSE_ERROR
public static final int err_CONSTRUCTION
public static final int err_INVALID_PUBLIC_KEY
public static final int err_INVALID_VERSION
public static final int err_INVALID_FORMAT
public static final int err_ENCODING
Constructor Detail |
public CertException(int code, String moredata)
verf_*
) and a string describing the context
of the error.public CertException(int code)
Method Detail |
public int getVerfCode()
public String getMoreData()
public String getVerfDescription()
public String toString()
public String getMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |