|
Bouncy Castle Cryptography 1.28 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.jce.provider.PKIXPolicyNode
| Field Summary | |
protected java.util.List |
children
|
protected boolean |
critical
|
protected int |
depth
|
protected java.util.Set |
expectedPolicies
|
protected PolicyNode |
parent
|
protected java.util.Set |
policyQualifiers
|
protected java.lang.String |
validPolicy
|
| Constructor Summary | |
PKIXPolicyNode(java.util.List _children,
int _depth,
java.util.Set _expectedPolicies,
PolicyNode _parent,
java.util.Set _policyQualifiers,
java.lang.String _validPolicy,
boolean _critical)
|
|
| Method Summary | |
void |
addChild(PKIXPolicyNode _child)
|
java.lang.Object |
clone()
|
PKIXPolicyNode |
copy()
|
java.util.Iterator |
getChildren()
Returns an iterator over the children of this node. |
int |
getDepth()
Returns the depth of this node in the valid policy tree. |
java.util.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. |
java.util.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 java.util.List children
protected int depth
protected java.util.Set expectedPolicies
protected PolicyNode parent
protected java.util.Set policyQualifiers
protected java.lang.String validPolicy
protected boolean critical
| Constructor Detail |
public PKIXPolicyNode(java.util.List _children,
int _depth,
java.util.Set _expectedPolicies,
PolicyNode _parent,
java.util.Set _policyQualifiers,
java.lang.String _validPolicy,
boolean _critical)
| Method Detail |
public void addChild(PKIXPolicyNode _child)
public java.util.Iterator getChildren()
PolicyNodeIterator's remove method must throw an
UnsupportedOperationException.
getChildren in interface PolicyNodepublic int getDepth()
PolicyNode
getDepth in interface PolicyNodepublic java.util.Set getExpectedPolicies()
PolicyNode
getExpectedPolicies in interface PolicyNodeSet 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()
PolicyNodenull if this is the
root node.
getParent in interface PolicyNodenull if this is the
root nodepublic java.util.Set getPolicyQualifiers()
PolicyNode
getPolicyQualifiers in interface PolicyNodeSet of
PolicyQualifierInfos. For the root node, this
is always an empty Set.public java.lang.String getValidPolicy()
PolicyNode
getValidPolicy in interface PolicyNodeString 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 PolicyNodetrue 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()
public java.lang.String toString(java.lang.String _indent)
public java.lang.Object clone()
public PKIXPolicyNode copy()
|
Bouncy Castle Cryptography 1.28 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||