|
Bouncy Castle Cryptography 1.46 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bouncycastle.jce.provider.PKIXNameConstraintValidator
public class PKIXNameConstraintValidator
Constructor Summary | |
---|---|
PKIXNameConstraintValidator()
|
Method Summary | |
---|---|
void |
addExcludedSubtree(GeneralSubtree subtree)
Adds a subtree to the excluded set of these name constraints. |
void |
checkExcluded(GeneralName name)
Check if the given GeneralName is contained in the excluded set. |
void |
checkExcludedDN(ASN1Sequence dns)
|
void |
checkPermitted(GeneralName name)
Checks if the given GeneralName is in the permitted set. |
void |
checkPermittedDN(ASN1Sequence dns)
|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
void |
intersectEmptyPermittedSubtree(int nameType)
|
void |
intersectPermittedSubtree(ASN1Sequence permitted)
Updates the permitted set of these name constraints with the intersection with the given subtree. |
java.lang.String |
toString()
|
protected java.util.Set |
unionDNS(java.util.Set excluded,
java.lang.String dns)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PKIXNameConstraintValidator()
Method Detail |
---|
public void checkPermittedDN(ASN1Sequence dns) throws PKIXNameConstraintValidatorException
PKIXNameConstraintValidatorException
public void checkExcludedDN(ASN1Sequence dns) throws PKIXNameConstraintValidatorException
PKIXNameConstraintValidatorException
protected java.util.Set unionDNS(java.util.Set excluded, java.lang.String dns)
public void checkPermitted(GeneralName name) throws PKIXNameConstraintValidatorException
name
- The GeneralName
PKIXNameConstraintValidatorException
- If the name
public void checkExcluded(GeneralName name) throws PKIXNameConstraintValidatorException
name
- The GeneralName.
PKIXNameConstraintValidatorException
- If the name
is
excluded.public void intersectPermittedSubtree(ASN1Sequence permitted)
permitted
- The permitted subtreespublic void intersectEmptyPermittedSubtree(int nameType)
public void addExcludedSubtree(GeneralSubtree subtree)
subtree
- A subtree with an excluded GeneralName.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Bouncy Castle Cryptography 1.46 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |