Class PKIXCertPathBuilderResult

java.lang.Object
java.security.cert.PKIXCertPathValidatorResult
java.security.cert.PKIXCertPathBuilderResult
All Implemented Interfaces:
Cloneable, CertPathBuilderResult, CertPathValidatorResult

public class PKIXCertPathBuilderResult
extends PKIXCertPathValidatorResult
implements CertPathBuilderResult
The result of the PKIX certification path builder, returned by CertPathBuilder.build(CertPathParameters).
  • Constructor Details

    • PKIXCertPathBuilderResult

      public PKIXCertPathBuilderResult​(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
      Creates a new PKIXCertPathBuilderResult instance with the specified validated certification path, the trust anchor of the certification path, the policy tree and the public key of the subject.
      Parameters:
      certPath - the validated certification path.
      trustAnchor - the trust anchor.
      policyTree - the policy tree (or null if not used).
      subjectPublicKey - the public key.
      Throws:
      NullPointerException - if the cerPath, trustAnchor or subjectPolicyKey is null.
  • Method Details