org.gudy.bouncycastle.jce.provider
Class PKIXPolicyNode

java.lang.Object
  extended by org.gudy.bouncycastle.jce.provider.PKIXPolicyNode
All Implemented Interfaces:
PolicyNode

public class PKIXPolicyNode
extends Object
implements PolicyNode


Field Summary
protected  List children
           
protected  boolean critical
           
protected  int depth
           
protected  Set expectedPolicies
           
protected  PolicyNode parent
           
protected  Set policyQualifiers
           
protected  String validPolicy
           
 
Constructor Summary
PKIXPolicyNode(List _children, int _depth, Set _expectedPolicies, PolicyNode _parent, Set _policyQualifiers, String _validPolicy, boolean _critical)
           
 
Method Summary
 void addChild(PKIXPolicyNode _child)
           
 Object clone()
           
 PKIXPolicyNode copy()
           
 Iterator getChildren()
           
 int getDepth()
           
 Set getExpectedPolicies()
           
 PolicyNode getParent()
           
 Set getPolicyQualifiers()
           
 String getValidPolicy()
           
 boolean hasChildren()
           
 boolean isCritical()
           
 void removeChild(PKIXPolicyNode _child)
           
 void setCritical(boolean _critical)
           
 void setParent(PKIXPolicyNode _parent)
           
 String toString()
           
 String toString(String _indent)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

children

protected List children

depth

protected int depth

expectedPolicies

protected Set expectedPolicies

parent

protected PolicyNode parent

policyQualifiers

protected Set policyQualifiers

validPolicy

protected String validPolicy

critical

protected boolean critical
Constructor Detail

PKIXPolicyNode

public PKIXPolicyNode(List _children,
                      int _depth,
                      Set _expectedPolicies,
                      PolicyNode _parent,
                      Set _policyQualifiers,
                      String _validPolicy,
                      boolean _critical)
Method Detail

addChild

public void addChild(PKIXPolicyNode _child)

getChildren

public Iterator getChildren()
Specified by:
getChildren in interface PolicyNode

getDepth

public int getDepth()
Specified by:
getDepth in interface PolicyNode

getExpectedPolicies

public Set getExpectedPolicies()
Specified by:
getExpectedPolicies in interface PolicyNode

getParent

public PolicyNode getParent()
Specified by:
getParent in interface PolicyNode

getPolicyQualifiers

public Set getPolicyQualifiers()
Specified by:
getPolicyQualifiers in interface PolicyNode

getValidPolicy

public String getValidPolicy()
Specified by:
getValidPolicy in interface PolicyNode

hasChildren

public boolean hasChildren()

isCritical

public boolean isCritical()
Specified by:
isCritical in interface PolicyNode

removeChild

public void removeChild(PKIXPolicyNode _child)

setCritical

public void setCritical(boolean _critical)

setParent

public void setParent(PKIXPolicyNode _parent)

toString

public String toString()
Overrides:
toString in class Object

toString

public String toString(String _indent)

clone

public Object clone()
Overrides:
clone in class Object

copy

public PKIXPolicyNode copy()