Class GeneralNameBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.x509.GeneralNameBC
- All Implemented Interfaces:
IASN1Encodable, IGeneralName
Wrapper class for
GeneralName.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGeneralNameBC(org.bouncycastle.asn1.x509.GeneralName generalName) Creates new wrapper instance forGeneralName. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.GeneralNameGets actual org.bouncycastle object being wrapped.static GeneralNameBCGets wrapper instance.intgetTagNo()Calls actualgetTagNomethod for the wrapped GeneralName object.intGetsuniformResourceIdentifierconstant for the wrapped GeneralName.Methods inherited from class ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from interface IASN1Encodable
isNull, toASN1Primitive
-
Field Details
-
INSTANCE
-
UNIFORM_RESOURCE_IDENTIFIER
private static final int UNIFORM_RESOURCE_IDENTIFIER- See Also:
-
-
Constructor Details
-
GeneralNameBC
public GeneralNameBC(org.bouncycastle.asn1.x509.GeneralName generalName) Creates new wrapper instance forGeneralName.- Parameters:
generalName-GeneralNameto be wrapped
-
-
Method Details
-
getInstance
-
getGeneralName
public org.bouncycastle.asn1.x509.GeneralName getGeneralName()Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
GeneralName.
-
getTagNo
public int getTagNo()Calls actualgetTagNomethod for the wrapped GeneralName object.- Specified by:
getTagNoin interfaceIGeneralName- Returns:
- tagNo value.
-
getUniformResourceIdentifier
public int getUniformResourceIdentifier()GetsuniformResourceIdentifierconstant for the wrapped GeneralName.- Specified by:
getUniformResourceIdentifierin interfaceIGeneralName- Returns:
- GeneralName.uniformResourceIdentifier value.
-