|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bouncycastle.jce.provider.PKIXNameConstraints
public class PKIXNameConstraints
Constructor Summary | |
---|---|
PKIXNameConstraints()
|
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 |
intersectPermittedSubtree(GeneralSubtree subtree)
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 PKIXNameConstraints()
Method Detail |
---|
public void checkPermittedDN(ASN1Sequence dns) throws java.security.cert.CertPathValidatorException
java.security.cert.CertPathValidatorException
public void checkExcludedDN(ASN1Sequence dns) throws java.security.cert.CertPathValidatorException
java.security.cert.CertPathValidatorException
protected java.util.Set unionDNS(java.util.Set excluded, java.lang.String dns)
public void checkPermitted(GeneralName name) throws java.security.cert.CertPathValidatorException
name
- The GeneralName
java.security.cert.CertPathValidatorException
- If the name
public void checkExcluded(GeneralName name) throws java.security.cert.CertPathValidatorException
name
- The GeneralName.
java.security.cert.CertPathValidatorException
- If the name
is
excluded.public void intersectPermittedSubtree(GeneralSubtree subtree)
subtree
- A subtree with an excluded GeneralName.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 Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |