org.bouncycastle.jce.provider
Class PKIXNameConstraintValidator
java.lang.Object
org.bouncycastle.jce.provider.PKIXNameConstraintValidator
public class PKIXNameConstraintValidator
extends java.lang.Object
PKIXNameConstraintValidator
public PKIXNameConstraintValidator()
addExcludedSubtree
public void addExcludedSubtree(GeneralSubtree subtree)
Adds a subtree to the excluded set of these name constraints.
subtree
- A subtree with an excluded GeneralName.
equals
public boolean equals(Object o)
hashCode
public int hashCode()
intersectEmptyPermittedSubtree
public void intersectEmptyPermittedSubtree(int nameType)
intersectPermittedSubtree
public void intersectPermittedSubtree(ASN1Sequence permitted)
Updates the permitted set of these name constraints with the intersection
with the given subtree.
permitted
- The permitted subtrees
toString
public String toString()
unionDNS
protected Set unionDNS(Set excluded,
String dns)