public class ValidatorException extends CertificateException
| 限定符和类型 | 字段和说明 |
|---|---|
private X509Certificate |
cert |
private static long |
serialVersionUID |
static Object |
T_ALGORITHM_DISABLED |
static Object |
T_CA_EXTENSIONS |
static Object |
T_CERT_EXPIRED |
static Object |
T_EE_EXTENSIONS |
static Object |
T_NAME_CHAINING |
static Object |
T_NO_TRUST_ANCHOR |
static Object |
T_SIGNATURE_ERROR |
static Object |
T_UNTRUSTED_CERT |
private Object |
type |
| 构造器和说明 |
|---|
ValidatorException(Object type) |
ValidatorException(Object type,
X509Certificate cert) |
ValidatorException(Object type,
X509Certificate cert,
Throwable cause) |
ValidatorException(String msg) |
ValidatorException(String msg,
Object type,
X509Certificate cert) |
ValidatorException(String msg,
Object type,
X509Certificate cert,
Throwable cause) |
ValidatorException(String msg,
Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
X509Certificate |
getErrorCertificate()
Get the certificate causing the exception, if available.
|
Object |
getErrorType()
Get the type of the failure (one of the T_XXX constants), if
available.
|
private static final long serialVersionUID
public static final Object T_NO_TRUST_ANCHOR
public static final Object T_EE_EXTENSIONS
public static final Object T_CA_EXTENSIONS
public static final Object T_CERT_EXPIRED
public static final Object T_SIGNATURE_ERROR
public static final Object T_NAME_CHAINING
public static final Object T_ALGORITHM_DISABLED
public static final Object T_UNTRUSTED_CERT
private Object type
private X509Certificate cert
public ValidatorException(String msg)
public ValidatorException(Object type)
public ValidatorException(Object type, X509Certificate cert)
public ValidatorException(Object type, X509Certificate cert, Throwable cause)
public ValidatorException(String msg, Object type, X509Certificate cert)
public ValidatorException(String msg, Object type, X509Certificate cert, Throwable cause)
public Object getErrorType()
public X509Certificate getErrorCertificate()
Copyright © 2023. All rights reserved.