Interface PolicyNode

  • All Known Implementing Classes:
    PKIXPolicyNode

    public interface PolicyNode
    The interface to a valid policy tree node for the PKIX certification path validation algorithm.

    Instances of this class are one of the outputs of the PKIX certification path validation algorithm.

    • Method Detail

      • getChildren

        Iterator<? extends PolicyNode> getChildren()
        Returns the list of children of this node as an Iterator.
        Returns:
        the list of children of this node as an Iterator.
      • getDepth

        int getDepth()
        Returns the depth of this node in the policy tree.

        the depth is zero based.

        Returns:
        the depth of this node in the policy tree.
      • getExpectedPolicies

        Set<String> getExpectedPolicies()
        Returns the expected policies for the next certificate to be valid.
        Returns:
        the expected policies.
      • getParent

        PolicyNode getParent()
        Returns the parent policy node.
        Returns:
        the parent policy node.
      • getPolicyQualifiers

        Set<? extends PolicyQualifierInfo> getPolicyQualifiers()
        Returns the policy qualifiers associated with the policy of this node.
        Returns:
        the policy qualifiers associated with the policy of this node.
      • getValidPolicy

        String getValidPolicy()
        Returns the valid policy of this node.
        Returns:
        the valid policy of this node.
      • isCritical

        boolean isCritical()
        Returns whether the certificate policy extension of the most recently processed certificate is marked as critical.
        Returns:
        true if the extension is marked as critical, otherwise false.