Class GeneralNameBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.x509.GeneralNameBCFips
- All Implemented Interfaces:
-
IASN1Encodable
,IGeneralName
Wrapper class for
GeneralName
.
-
Constructor Summary
ConstructorDescriptionGeneralNameBCFips
(org.bouncycastle.asn1.x509.GeneralName generalName) Creates new wrapper instance forGeneralName
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.GeneralName
Gets actual org.bouncycastle object being wrapped.static GeneralNameBCFips
Gets wrapper instance.int
getTagNo()
Calls actualgetTagNo
method for the wrapped GeneralName object.int
GetsuniformResourceIdentifier
constant for the wrapped GeneralName.Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
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
-
Constructor Details
-
GeneralNameBCFips
public GeneralNameBCFips(org.bouncycastle.asn1.x509.GeneralName generalName) Creates new wrapper instance forGeneralName
.- Parameters:
-
generalName
-GeneralName
to be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
GeneralNameBCFips
instance.
-
getGeneralName
public org.bouncycastle.asn1.x509.GeneralName getGeneralName()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
GeneralName
.
-
getTagNo
public int getTagNo()Calls actualgetTagNo
method for the wrapped GeneralName object.- Specified by:
-
getTagNo
in interfaceIGeneralName
- Returns:
- tagNo value.
-
getUniformResourceIdentifier
public int getUniformResourceIdentifier()GetsuniformResourceIdentifier
constant for the wrapped GeneralName.- Specified by:
-
getUniformResourceIdentifier
in interfaceIGeneralName
- Returns:
- GeneralName.uniformResourceIdentifier value.
-