|
Bouncy Castle Cryptography 1.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.jce.provider.PKIXPolicyNode
Field Summary | |
protected List |
children
|
protected boolean |
critical
|
protected int |
depth
|
protected Set |
expectedPolicies
|
protected PolicyNode |
parent
|
protected Set |
policyQualifiers
|
protected java.lang.String |
validPolicy
|
Constructor Summary | |
PKIXPolicyNode(List _children,
int _depth,
Set _expectedPolicies,
PolicyNode _parent,
Set _policyQualifiers,
java.lang.String _validPolicy,
boolean _critical)
|
Method Summary | |
void |
addChild(PKIXPolicyNode _child)
|
java.lang.Object |
clone()
|
PKIXPolicyNode |
copy()
|
Iterator |
getChildren()
Returns an iterator over the children of this node. |
int |
getDepth()
Returns the depth of this node in the valid policy tree. |
Set |
getExpectedPolicies()
Returns the set of expected policies that would satisfy this node's valid policy in the next certificate to be processed. |
PolicyNode |
getParent()
Returns the parent of this node, or null if this is the
root node. |
Set |
getPolicyQualifiers()
Returns the set of policy qualifiers associated with the valid policy represented by this node. |
java.lang.String |
getValidPolicy()
Returns the valid policy represented by this node. |
boolean |
hasChildren()
|
boolean |
isCritical()
Returns the criticality indicator of the certificate policy extension in the most recently processed certificate. |
void |
removeChild(PKIXPolicyNode _child)
|
void |
setCritical(boolean _critical)
|
void |
setParent(PKIXPolicyNode _parent)
|
java.lang.String |
toString()
|
java.lang.String |
toString(java.lang.String _indent)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected List children
protected int depth
protected Set expectedPolicies
protected PolicyNode parent
protected Set policyQualifiers
protected java.lang.String validPolicy
protected boolean critical
Constructor Detail |
public PKIXPolicyNode(List _children, int _depth, Set _expectedPolicies, PolicyNode _parent, Set _policyQualifiers, java.lang.String _validPolicy, boolean _critical)
Method Detail |
public void addChild(PKIXPolicyNode _child)
public Iterator getChildren()
PolicyNode
Iterator
's remove method must throw an
UnsupportedOperationException
.
getChildren
in interface PolicyNode
public int getDepth()
PolicyNode
getDepth
in interface PolicyNode
public Set getExpectedPolicies()
PolicyNode
getExpectedPolicies
in interface PolicyNode
Set
of expected policy
String
OIDs, or an immutable Set
with
the single special value "any-policy". For the root node, this method
always returns a Set
with the single value "any-policy".public PolicyNode getParent()
PolicyNode
null
if this is the
root node.
getParent
in interface PolicyNode
null
if this is the
root nodepublic Set getPolicyQualifiers()
PolicyNode
getPolicyQualifiers
in interface PolicyNode
Set
of
PolicyQualifierInfo
s. For the root node, this
is always an empty Set
.public java.lang.String getValidPolicy()
PolicyNode
getValidPolicy
in interface PolicyNode
String
OID of the valid policy
represented by this node, or the special value "any-policy". For
the root node, this method always returns the special value "any-policy".public boolean hasChildren()
public boolean isCritical()
PolicyNode
isCritical
in interface PolicyNode
true
if extension marked critical,
false
otherwise. For the root node, false
is always returned.public void removeChild(PKIXPolicyNode _child)
public void setCritical(boolean _critical)
public void setParent(PKIXPolicyNode _parent)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.lang.String _indent)
public java.lang.Object clone()
clone
in class java.lang.Object
public PKIXPolicyNode copy()
|
Bouncy Castle Cryptography 1.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |