eu.emi.security.authn.x509.helpers.pkipath
Class NonValidatingCertPathBuilder
java.lang.Object
eu.emi.security.authn.x509.helpers.pkipath.NonValidatingCertPathBuilder
public class NonValidatingCertPathBuilder
- extends Object
This class is a modified copy of BC's PKIXCertPathBuilderSpi. The
difference is that this class is building the path only, it is not further
validating it. As without validation it is possible to create many potential
CertPaths a list is returned.Additionally this class report errors as exceptions with
ValidationError inside.
- See Also:
CertPathBuilderSpi,
PKIXCertPathBuilderSpi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonValidatingCertPathBuilder
public NonValidatingCertPathBuilder()
buildPath
public List<CertPath> buildPath(ExtendedPKIXBuilderParameters pkixParams,
X509Certificate target,
X509Certificate[] origChain)
throws ValidationErrorException
- Build a CertPath using the given parameter.
- Parameters:
pkixParams - PKIXBuilderParameters object containing certificates
to build the CertPathtarget - Target certificate for the path
- Throws:
ValidationErrorException
build
protected void build(X509Certificate tbvCert,
ExtendedPKIXBuilderParameters pkixParams,
List<X509Certificate> tbvPath,
X509Certificate[] origChain)
Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.