Package com.itextpdf.bouncycastle.asn1
Class ASN1BitStringBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
com.itextpdf.bouncycastle.asn1.ASN1BitStringBC
- All Implemented Interfaces:
-
IASN1BitString
,IASN1Encodable
,IASN1Primitive
,IASN1String
- Direct Known Subclasses:
-
ReasonFlagsBC
Wrapper class for
ASN1BitString
.
-
Constructor Summary
ConstructorDescriptionASN1BitStringBC
(org.bouncycastle.asn1.ASN1BitString asn1BitString) Creates new wrapper instance forASN1BitString
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1BitString
Gets actual org.bouncycastle object being wrapped.Calls actualgetString
method for the wrapped ASN1String object.int
intValue()
Calls actualintValue
method for the wrapped ASN1BitString object.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
getEncoded, getEncoded, getPrimitive
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
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Primitive
getEncoded, getEncoded
-
Constructor Details
-
ASN1BitStringBC
public ASN1BitStringBC(org.bouncycastle.asn1.ASN1BitString asn1BitString) Creates new wrapper instance forASN1BitString
.- Parameters:
-
asn1BitString
-ASN1BitString
to be wrapped
-
-
Method Details
-
getASN1BitString
public org.bouncycastle.asn1.ASN1BitString getASN1BitString()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1BitString
.
-
getString
Calls actualgetString
method for the wrapped ASN1String object.- Specified by:
-
getString
in interfaceIASN1String
- Returns:
- the resulting string.
-
intValue
public int intValue()Calls actualintValue
method for the wrapped ASN1BitString object.- Specified by:
-
intValue
in interfaceIASN1BitString
- Returns:
- int value of the wrapped ASN1BitString.
-