Package org.bouncycastle.jce.provider
Class PKIXPolicyNode
- java.lang.Object
-
- org.bouncycastle.jce.provider.PKIXPolicyNode
-
- All Implemented Interfaces:
java.security.cert.PolicyNode
public class PKIXPolicyNode extends java.lang.Object implements java.security.cert.PolicyNode
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List
children
protected boolean
critical
protected int
depth
protected java.util.Set
expectedPolicies
protected java.security.cert.PolicyNode
parent
protected java.util.Set
policyQualifiers
protected java.lang.String
validPolicy
-
Constructor Summary
Constructors Constructor Description PKIXPolicyNode(java.util.List _children, int _depth, java.util.Set _expectedPolicies, java.security.cert.PolicyNode _parent, java.util.Set _policyQualifiers, java.lang.String _validPolicy, boolean _critical)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(PKIXPolicyNode _child)
java.lang.Object
clone()
PKIXPolicyNode
copy()
java.util.Iterator
getChildren()
int
getDepth()
java.util.Set
getExpectedPolicies()
java.security.cert.PolicyNode
getParent()
java.util.Set
getPolicyQualifiers()
java.lang.String
getValidPolicy()
boolean
hasChildren()
boolean
isCritical()
void
removeChild(PKIXPolicyNode _child)
void
setCritical(boolean _critical)
void
setExpectedPolicies(java.util.Set expectedPolicies)
void
setParent(PKIXPolicyNode _parent)
java.lang.String
toString()
java.lang.String
toString(java.lang.String _indent)
-
-
-
Field Detail
-
children
protected java.util.List children
-
depth
protected int depth
-
expectedPolicies
protected java.util.Set expectedPolicies
-
parent
protected java.security.cert.PolicyNode parent
-
policyQualifiers
protected java.util.Set policyQualifiers
-
validPolicy
protected java.lang.String validPolicy
-
critical
protected boolean critical
-
-
Method Detail
-
addChild
public void addChild(PKIXPolicyNode _child)
-
getChildren
public java.util.Iterator getChildren()
- Specified by:
getChildren
in interfacejava.security.cert.PolicyNode
-
getDepth
public int getDepth()
- Specified by:
getDepth
in interfacejava.security.cert.PolicyNode
-
getExpectedPolicies
public java.util.Set getExpectedPolicies()
- Specified by:
getExpectedPolicies
in interfacejava.security.cert.PolicyNode
-
getParent
public java.security.cert.PolicyNode getParent()
- Specified by:
getParent
in interfacejava.security.cert.PolicyNode
-
getPolicyQualifiers
public java.util.Set getPolicyQualifiers()
- Specified by:
getPolicyQualifiers
in interfacejava.security.cert.PolicyNode
-
getValidPolicy
public java.lang.String getValidPolicy()
- Specified by:
getValidPolicy
in interfacejava.security.cert.PolicyNode
-
hasChildren
public boolean hasChildren()
-
isCritical
public boolean isCritical()
- Specified by:
isCritical
in interfacejava.security.cert.PolicyNode
-
removeChild
public void removeChild(PKIXPolicyNode _child)
-
setCritical
public void setCritical(boolean _critical)
-
setParent
public void setParent(PKIXPolicyNode _parent)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.String toString(java.lang.String _indent)
-
clone
public java.lang.Object clone()
- Overrides:
clone
in classjava.lang.Object
-
copy
public PKIXPolicyNode copy()
-
setExpectedPolicies
public void setExpectedPolicies(java.util.Set expectedPolicies)
-
-