Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.security.cert
Interface PolicyNode  view PolicyNode download PolicyNode.java


public interface PolicyNode


Method Summary
 java.util.Iterator getChildren()
          Get the iterator of the child nodes of this node.
 int getDepth()
          Get the depth of this node within the tree, starting at 0 for the root node.
 java.util.Set getExpectedPolicies()
          Returns a set of policies (string OIDs) that will satisfy this node's policy.
 PolicyNode getParent()
          Returns the parent node of this node, or null if this is the root node.
 java.util.Set getPolicyQualifiers()
          Returns a set of PolicyQualifierInfo objects that qualify the valid policy of this node.
 java.lang.String getValidPolicy()
          Get the policy OID this node represents.
 boolean isCritical()
          Return the criticality flag of this policy node.
 

Method Detail

getChildren

public java.util.Iterator getChildren()
Get the iterator of the child nodes of this node. The returned iterator is (naturally) unmodifiable.


getDepth

public int getDepth()
Get the depth of this node within the tree, starting at 0 for the root node.


getExpectedPolicies

public java.util.Set getExpectedPolicies()
Returns a set of policies (string OIDs) that will satisfy this node's policy. The root node should always return the singleton set with the element "any-policy".


getParent

public PolicyNode getParent()
Returns the parent node of this node, or null if this is the root node.


getPolicyQualifiers

public java.util.Set getPolicyQualifiers()
Returns a set of PolicyQualifierInfo objects that qualify the valid policy of this node. The root node should always return the empty set.


getValidPolicy

public java.lang.String getValidPolicy()
Get the policy OID this node represents. The root node should return the special value "any-policy".


isCritical

public boolean isCritical()
Return the criticality flag of this policy node. Nodes who return true for this method should be considered critical. The root node is never critical.