Package org.bouncycastle.jce.provider
Class PKIXCertPathBuilderSpi
java.lang.Object
java.security.cert.CertPathBuilderSpi
org.bouncycastle.jce.provider.PKIXCertPathBuilderSpi
public class PKIXCertPathBuilderSpi extends CertPathBuilderSpi
Implements the PKIX CertPathBuilding algorithm for BouncyCastle.
- See Also:
CertPathBuilderSpi
-
Constructor Summary
Constructors Constructor Description PKIXCertPathBuilderSpi() -
Method Summary
Modifier and Type Method Description protected CertPathBuilderResultbuild(X509Certificate tbvCert, ExtendedPKIXBuilderParameters pkixParams, List tbvPath)CertPathBuilderResultengineBuild(CertPathParameters params)Build and validate a CertPath using the given parameter.
-
Constructor Details
-
PKIXCertPathBuilderSpi
public PKIXCertPathBuilderSpi()
-
-
Method Details
-
engineBuild
public CertPathBuilderResult engineBuild(CertPathParameters params) throws CertPathBuilderException, InvalidAlgorithmParameterExceptionBuild and validate a CertPath using the given parameter.- Specified by:
engineBuildin classCertPathBuilderSpi- Parameters:
params- PKIXBuilderParameters object containing all information to build the CertPath- Returns:
- a result of the build.
- Throws:
CertPathBuilderException- if the build fails.InvalidAlgorithmParameterException- if the specified parameters cannot be used to build the path with this builder.
-
build
protected CertPathBuilderResult build(X509Certificate tbvCert, ExtendedPKIXBuilderParameters pkixParams, List tbvPath)
-