org.gudy.bouncycastle.jce.provider
Class PKIXPolicyNode
java.lang.Object
org.gudy.bouncycastle.jce.provider.PKIXPolicyNode
- All Implemented Interfaces:
- PolicyNode
public class PKIXPolicyNode
- extends Object
- implements PolicyNode
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
PKIXPolicyNode
public PKIXPolicyNode(List _children,
int _depth,
Set _expectedPolicies,
PolicyNode _parent,
Set _policyQualifiers,
String _validPolicy,
boolean _critical)
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()