Class PKIXCertPathValidatorResult

    • Constructor Detail

      • PKIXCertPathValidatorResult

        public PKIXCertPathValidatorResult​(TrustAnchor trustAnchor,
                                           PolicyNode policyTree,
                                           PublicKey subjectPublicKey)
        Creates a new PKIXCertPathValidatorResult with the specified trust anchor, the valid policy tree and the subject public key.
        Parameters:
        trustAnchor - the trust anchor describing the certification authority (CA) that served as trust anchor for the certification path.
        policyTree - the valid policy tree from the validation.
        subjectPublicKey - the subject public key from the validation.
    • Method Detail

      • getPolicyTree

        public PolicyNode getPolicyTree()
        Returns the valid policy tree from the validation.
        Returns:
        the valid policy tree from the validation.
      • getPublicKey

        public PublicKey getPublicKey()
        Returns the subject public key from the validation.
        Returns:
        the subject public key from the validation.
      • getTrustAnchor

        public TrustAnchor getTrustAnchor()
        Returns the trust anchor describing the certification authority (CA) that served as trust anchor for this certification path.
        Returns:
        the trust anchor.
      • toString

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