Class NameConstraintsBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.x509.NameConstraintsBC
- All Implemented Interfaces:
-
IASN1Encodable,INameConstraints
Wrapper class for
NameConstraints
-
Constructor Summary
ConstructorsConstructorDescriptionNameConstraintsBC(org.bouncycastle.asn1.x509.NameConstraints nameConstraints) Creates new wrapper instance forNameConstraints. -
Method Summary
Modifier and TypeMethodDescriptionCalls actualgetExcludedSubtreesmethod for the wrapped NameConstraints object.org.bouncycastle.asn1.x509.NameConstraintsGets actual org.bouncycastle object being wrapped.Calls actualgetPermittedSubtreesmethod for the wrapped NameConstraints object.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
NameConstraintsBC
public NameConstraintsBC(org.bouncycastle.asn1.x509.NameConstraints nameConstraints) Creates new wrapper instance forNameConstraints.- Parameters:
-
nameConstraints-NameConstraintsto be wrapped
-
-
Method Details
-
getNameConstraints
public org.bouncycastle.asn1.x509.NameConstraints getNameConstraints()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
NameConstraints.
-
getPermittedSubtrees
Calls actualgetPermittedSubtreesmethod for the wrapped NameConstraints object.- Specified by:
-
getPermittedSubtreesin interfaceINameConstraints - Returns:
-
IGeneralSubtreearray of wrapped GeneralSubtree objects.
-
getExcludedSubtrees
Calls actualgetExcludedSubtreesmethod for the wrapped NameConstraints object.- Specified by:
-
getExcludedSubtreesin interfaceINameConstraints - Returns:
-
IGeneralSubtreearray of wrapped GeneralSubtree objects.
-