Top Description Fields Constructors Methods
org.bouncycastle.jcajce.provider

pack-priv Class PKIXCertPathValidatorSpi

extends CertPathValidatorSpi
Class Inheritance
Imports
java.security.InvalidAlgorithmParameterException, .Provider, .PublicKey, java.security.cert.CertPath, .CertPathParameters, .CertPathValidatorException, .CertPathValidatorResult, .CertPathValidatorSpi, .PKIXCertPathChecker, .PKIXCertPathValidatorResult, .PKIXParameters, .TrustAnchor, .X509Certificate, java.util.ArrayList, .HashSet, .Iterator, .List, .Set, javax.security.auth.x500.X500Principal, org.bouncycastle.asn1.ASN1Encodable, .ASN1ObjectIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, .Extension, .PKIXNameConstraintValidator, org.bouncycastle.jcajce.PKIXExtendedBuilderParameters, .PKIXExtendedParameters

CertPathValidatorSpi implementation for X.509 Certificate validation � la RFC 3280.

Field Summary

Modifier and TypeField and Description
private final Provider

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public CertPathValidatorResult
engineValidate(CertPath
the CertPath to be validated
certPath
,
CertPathParameters
the algorithm parameters
params
)

Implements abstract java.security.cert.CertPathValidatorSpi.engineValidate.

Validates the specified certification path using the specified algorithm parameter set.
Inherited from java.security.cert.CertPathValidatorSpi:
engineGetRevocationChecker

Field Detail

fipsProviderback to summary
private final Provider fipsProvider

Constructor Detail

PKIXCertPathValidatorSpiback to summary
pack-priv PKIXCertPathValidatorSpi(Provider fipsProvider)

Method Detail

engineValidateback to summary
public CertPathValidatorResult engineValidate(CertPath certPath, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException

Implements abstract java.security.cert.CertPathValidatorSpi.engineValidate.

Doc from java.security.cert.CertPathValidatorSpi.engineValidate.

Validates the specified certification path using the specified algorithm parameter set.

The CertPath specified must be of a type that is supported by the validation algorithm, otherwise an InvalidAlgorithmParameterException will be thrown. For example, a CertPathValidator that implements the PKIX algorithm validates CertPath objects of type X.509.

Parameters
certPath:CertPath

the CertPath to be validated

params:CertPathParameters

the algorithm parameters

Returns:CertPathValidatorResult

the result of the validation algorithm

Exceptions
CertPathValidatorException:
if the CertPath does not validate
InvalidAlgorithmParameterException:
if the specified parameters or the type of the specified CertPath are inappropriate for this CertPathValidator