public final class PKIXCertPathValidator extends CertPathValidatorSpi
MicroEJ Crypto Abstraction Layer
(ej.crypto) for certification paths consisting exclusively of X509Certificates. It uses the specified input
parameter set (which must be a PKIXParameters object).
Check the documentation of your VEE Port for more details on the CertPath validation algorithm implemented.
It is inspired from sun.security.provider.certpath.PKIXCertPathValidator,
sun.security.provider.certpath.PKIX & java.security.cert.PKIXCertPathValidatorResult from
OpenJDK (jdk8u442-ga).
| Constructor and Description |
|---|
PKIXCertPathValidator() |
| Modifier and Type | Method and Description |
|---|---|
CertPathValidatorResult |
engineValidate(CertPath cp,
CertPathParameters params)
Validates a certification path consisting exclusively of
X509Certificates using the validation algorithm
provided by the MicroEJ Crypto
Abstraction Layer (ej.crypto), which uses the specified input parameter set. |
engineGetRevocationCheckerpublic CertPathValidatorResult engineValidate(CertPath cp, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException
X509Certificates using the validation algorithm
provided by the MicroEJ Crypto
Abstraction Layer (ej.crypto), which uses the specified input parameter set. The input parameter set must be a
PKIXParameters object.engineValidate in class CertPathValidatorSpicp - the X509 certification pathparams - the input PKIX parameter setCertPathValidatorException - if cert path does not validate.InvalidAlgorithmParameterException - if the specified parameters are inappropriate for this CertPathValidator