Class GeneralNameBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.x509.GeneralNameBC
-
- All Implemented Interfaces:
IASN1Encodable,IGeneralName
public class GeneralNameBC extends ASN1EncodableBC implements IGeneralName
Wrapper class forGeneralName.
-
-
Field Summary
Fields Modifier and Type Field Description private static GeneralNameBCINSTANCEprivate static intUNIFORM_RESOURCE_IDENTIFIER
-
Constructor Summary
Constructors Constructor Description GeneralNameBC(org.bouncycastle.asn1.x509.GeneralName generalName)Creates new wrapper instance forGeneralName.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.x509.GeneralNamegetGeneralName()Gets actual org.bouncycastle object being wrapped.static GeneralNameBCgetInstance()Gets wrapper instance.intgetTagNo()Calls actualgetTagNomethod for the wrapped GeneralName object.intgetUniformResourceIdentifier()GetsuniformResourceIdentifierconstant for the wrapped GeneralName.-
Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
-
-
-
Field Detail
-
INSTANCE
private static final GeneralNameBC INSTANCE
-
UNIFORM_RESOURCE_IDENTIFIER
private static final int UNIFORM_RESOURCE_IDENTIFIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static GeneralNameBC getInstance()
Gets wrapper instance.- Returns:
GeneralNameBCinstance.
-
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.
-
-