|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.asn1.x509.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(X500Name dns)
|
void |
checkExcludedEmail(java.lang.String email)
|
void |
checkPermitted(GeneralName name)
Checks if the given GeneralName is in the permitted set. |
void |
checkPermittedDN(X500Name dns)
|
void |
checkPermittedEmail(java.lang.String email)
|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
void |
intersectEmptyPermittedSubtree(int nameType)
|
void |
intersectPermittedSubtree(GeneralSubtree permitted)
|
void |
intersectPermittedSubtree(GeneralSubtree[] permitted)
Updates the permitted set of these name constraints with the intersection with the given subtree. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PKIXNameConstraintValidator()
| Method Detail |
public void checkPermitted(GeneralName name)
throws NameConstraintValidatorException
checkPermitted in interface NameConstraintValidatorname - The GeneralName
NameConstraintValidatorException - If the name
public void checkExcluded(GeneralName name)
throws NameConstraintValidatorException
checkExcluded in interface NameConstraintValidatorname - The GeneralName.
NameConstraintValidatorException - If the name is
excluded.public void intersectPermittedSubtree(GeneralSubtree permitted)
intersectPermittedSubtree in interface NameConstraintValidatorpublic void intersectPermittedSubtree(GeneralSubtree[] permitted)
intersectPermittedSubtree in interface NameConstraintValidatorpermitted - The permitted subtreespublic void intersectEmptyPermittedSubtree(int nameType)
intersectEmptyPermittedSubtree in interface NameConstraintValidatorpublic void addExcludedSubtree(GeneralSubtree subtree)
addExcludedSubtree in interface NameConstraintValidatorsubtree - A subtree with an excluded GeneralName.public int hashCode()
public boolean equals(java.lang.Object o)
public void checkPermittedDN(X500Name dns)
throws NameConstraintValidatorException
NameConstraintValidatorException
public void checkExcludedDN(X500Name dns)
throws NameConstraintValidatorException
NameConstraintValidatorException
public void checkPermittedEmail(java.lang.String email)
throws NameConstraintValidatorException
NameConstraintValidatorException
public void checkExcludedEmail(java.lang.String email)
throws NameConstraintValidatorException
NameConstraintValidatorExceptionpublic java.lang.String toString()
|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||