public final class CertValidatorResult extends Object
Instance of the CertValidatorResult is returned by one of the validateCertPath methods of CertValidator class.
The CertValidatorResult object represents the result of certificate validation process, including the resolved trusted root certificate and used CRL and OCSP data.
| Modifier and Type | Class and Description |
|---|---|
static class |
CertValidatorResult.CRLResult
CRLResult class represents the
successful result of the certificate chain CRL validation.
|
static class |
CertValidatorResult.OCSPResult
OCSPResult class represents the
successful result of the certificate chain OCSP validation.
|
| Modifier and Type | Method and Description |
|---|---|
CertPath |
getCertPath()
Returns the validated certification path.
|
List<CertValidatorResult.CRLResult> |
getCRLResultList()
Returns the certification path CRL validation result,
or null if CRL validation was not performed.
|
List<CertValidatorResult.OCSPResult> |
getOCSPResultList()
Returns list containing result of the performed OCSP validation,
or null if OCSP validation was not performed.
|
X509Certificate |
getTrustedCert()
Returns the certificate describing the CA that
served as a trust anchor for the certification path.
|
Date |
getValidationDate()
Returns the time for which the validity
of the certification path was determined.
|
public CertPath getCertPath()
public Date getValidationDate()
public X509Certificate getTrustedCert()
public List<CertValidatorResult.CRLResult> getCRLResultList()
public List<CertValidatorResult.OCSPResult> getOCSPResultList()