org.gudy.bouncycastle.asn1.x509
Class NameConstraints
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Encodable
org.gudy.bouncycastle.asn1.x509.NameConstraints
- All Implemented Interfaces:
- DEREncodable
public class NameConstraints
- extends ASN1Encodable
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
NameConstraints
public NameConstraints(ASN1Sequence seq)
NameConstraints
public NameConstraints(java.util.Vector permitted,
java.util.Vector excluded)
- Constructor from a given details.
permitted and excluded are Vectors of GeneralSubtree objects.
- Parameters:
permitted
- Permitted subtreesexcluded
- Excludes subtrees
getPermittedSubtrees
public ASN1Sequence getPermittedSubtrees()
getExcludedSubtrees
public ASN1Sequence getExcludedSubtrees()
toASN1Object
public DERObject toASN1Object()
- Specified by:
toASN1Object
in class ASN1Encodable