aicas logoJamaica 3.2 release 62

java.security.cert
Interface PolicyNode


public interface PolicyNode


Method Summary
 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.
 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.
 Set getPolicyQualifiers()
          Returns a set of PolicyQualifierInfo objects that qualify the valid policy of this node.
 String getValidPolicy()
          Get the policy OID this node represents.
 boolean isCritical()
          Return the criticality flag of this policy node.
 

Method Detail

getChildren

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

Returns:
An iterator over the child nodes.

getDepth

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

Returns:
The depth of this node.

getExpectedPolicies

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".

Returns:
The set of expected policies.

getParent

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

Returns:
The parent node, or null.

getPolicyQualifiers

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.

Returns:
The set of PolicyQualifierInfo objects.

getValidPolicy

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

Returns:
The policy of this node.

isCritical

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.

Returns:
The criticality flag.

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.