Class PKIXCertPathBuilderResult

    • Constructor Detail

      • 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 Detail

      • toString

        public String toString()
        Returns a string representation of this PKIXCertPathBuilderResult instance.
        Overrides:
        toString in class PKIXCertPathValidatorResult
        Returns:
        a string representation of this PKIXCertPathBuilderResult instance.