public class PKIXAttrCertPathValidatorSpi extends CertPathValidatorSpi
ExtendedPKIXParameters
Constructor and Description |
---|
PKIXAttrCertPathValidatorSpi() |
Modifier and Type | Method and Description |
---|---|
CertPathValidatorResult |
engineValidate(CertPath certPath,
CertPathParameters params)
Validates an attribute certificate with the given certificate path.
|
engineGetRevocationChecker
public CertPathValidatorResult engineValidate(CertPath certPath, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException
params
must be an instance of
ExtendedPKIXParameters
.
The target constraints in the params
must be an
X509AttributeCertStoreSelector
with at least the attribute
certificate criterion set. Obey that also target informations may be
necessary to correctly validate this attribute certificate.
The attribute certificate issuer must be added to the trusted attribute
issuers with ExtendedPKIXParameters.setTrustedACIssuers(Set)
.
engineValidate
in class CertPathValidatorSpi
certPath
- The certificate path which belongs to the attribute
certificate issuer public key certificate.params
- The PKIX parameters.PKIXCertPathValidatorResult
of the result of
validating the certPath
.InvalidAlgorithmParameterException
- if params
is
inappropriate for this validator.CertPathValidatorException
- if the verification fails.Copyright © 2015. All rights reserved.