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
NameConstraints
public NameConstraints(ASN1Sequence seq)
NameConstraints
public NameConstraints(Vector permitted,
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