Package org.bouncycastle.jce.provider
Class PKIXCertPathValidatorSpi
java.lang.Object
java.security.cert.CertPathValidatorSpi
org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi
public class PKIXCertPathValidatorSpi extends CertPathValidatorSpi
CertPathValidatorSpi implementation for X.509 Certificate validation � la RFC
3280.
-
Constructor Summary
Constructors Constructor Description PKIXCertPathValidatorSpi() -
Method Summary
Modifier and Type Method Description CertPathValidatorResultengineValidate(CertPath certPath, CertPathParameters params)Validates theCertPathwith the algorithm of thisCertPathValidatorusing the specified algorithm parameters.
-
Constructor Details
-
PKIXCertPathValidatorSpi
public PKIXCertPathValidatorSpi()
-
-
Method Details
-
engineValidate
public CertPathValidatorResult engineValidate(CertPath certPath, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterExceptionDescription copied from class:CertPathValidatorSpiValidates theCertPathwith the algorithm of thisCertPathValidatorusing the specified algorithm parameters.- Specified by:
engineValidatein classCertPathValidatorSpi- Parameters:
certPath- the certification path to be validated.params- the certification path validator algorithm parameters.- Returns:
- the validation result.
- Throws:
CertPathValidatorException- if the validation fails, or the algorithm of the specified certification path cannot be validated using the algorithm of this instance.InvalidAlgorithmParameterException- if the specified algorithm parameters cannot be used with this algorithm.
-