All Packages Class Hierarchy This Package Previous Next Index
Class iaik.x509.CertException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----iaik.asn1.CodingException
|
+----iaik.x509.CertException
- public class CertException
- extends CodingException
This exception is thrown when there occurs a problem with certificates.
-
CA_UNTRUSTED
-
-
CHAIN_LENGTH
-
-
CONSTRUCTION
-
-
INVALID_EXPIRED
-
-
INVALID_NOTBEFORE
-
-
INVALID_PUBLIC_KEY
-
-
INVALID_REVOKED
-
-
INVALID_SIGNATURE
-
-
PARSE_ERROR
-
-
PUBKEYALG_MISSING
-
-
VERIFICATION
-
-
CertException(int)
- Creates a new CertException with a specific code.
-
CertException(int, String)
- Creates a new CertException using a code and a description.
-
getData()
- Returns a detailed description of the exception.
-
getExceptionCode()
- Returns the basic code of the exception.
-
getMessage()
- Returns the description of the basic code.
INVALID_SIGNATURE
public static final int INVALID_SIGNATURE
INVALID_REVOKED
public static final int INVALID_REVOKED
INVALID_NOTBEFORE
public static final int INVALID_NOTBEFORE
INVALID_EXPIRED
public static final int INVALID_EXPIRED
CA_UNTRUSTED
public static final int CA_UNTRUSTED
CHAIN_LENGTH
public static final int CHAIN_LENGTH
PARSE_ERROR
public static final int PARSE_ERROR
CONSTRUCTION
public static final int CONSTRUCTION
INVALID_PUBLIC_KEY
public static final int INVALID_PUBLIC_KEY
VERIFICATION
public static final int VERIFICATION
PUBKEYALG_MISSING
public static final int PUBKEYALG_MISSING
CertException
public CertException(int code,
String data)
- Creates a new CertException using a code and a description.
- Parameters:
- code - shows the basic reason for this exception
- description - a more detailted description of the exception
CertException
public CertException(int code)
- Creates a new CertException with a specific code.
- Parameters:
- code - shows the basic reason for this exception
getExceptionCode
public int getExceptionCode()
- Returns the basic code of the exception.
- Returns:
- the code of this exception
getData
public String getData()
- Returns a detailed description of the exception.
- Returns:
- a more detailted description of the exception
getMessage
public String getMessage()
- Returns the description of the basic code.
- Returns:
- a basic description of the exception
- Overrides:
- getMessage in class Throwable
All Packages Class Hierarchy This Package Previous Next Index