org.bouncycastle.jce.provider
Class PKIXCertPathValidatorSpi
java.lang.Object
|
+--org.bouncycastle.jce.cert.CertPathValidatorSpi
|
+--org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi
- public class PKIXCertPathValidatorSpi
- extends CertPathValidatorSpi
CertPathValidatorSpi implementation for X.509 Certificate validation � la RFC
3280.
Method Summary |
CertPathValidatorResult |
engineValidate(CertPath certPath,
CertPathParameters params)
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PKIXCertPathValidatorSpi
public PKIXCertPathValidatorSpi()
PKIXCertPathValidatorSpi
public PKIXCertPathValidatorSpi(boolean isForCRLCheck)
engineValidate
public CertPathValidatorResult engineValidate(CertPath certPath,
CertPathParameters params)
throws CertPathValidatorException,
java.security.InvalidAlgorithmParameterException
- Description copied from class:
CertPathValidatorSpi
- 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.
- Overrides:
engineValidate
in class CertPathValidatorSpi
- Following copied from class:
org.bouncycastle.jce.cert.CertPathValidatorSpi
- Parameters:
certPath
- the CertPath to be validatedparams
- the algorithm parameters- Returns:
- the result of the validation algorithm
- Throws:
CertPathValidatorException
- if the CertPath
does not validatejava.security.InvalidAlgorithmParameterException
- if the specified
parameters or the type of the specified CertPath are
inappropriate for this CertPathValidator