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
public class ASN1BitStringBC extends ASN1PrimitiveBC implements IASN1BitString
Wrapper class forASN1BitString
.
-
-
Constructor Summary
Constructors Constructor Description ASN1BitStringBC(org.bouncycastle.asn1.ASN1BitString asn1BitString)
Creates new wrapper instance forASN1BitString
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.ASN1BitString
getASN1BitString()
Gets actual org.bouncycastle object being wrapped.java.lang.String
getString()
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
-
-
-
-
Method Detail
-
getASN1BitString
public org.bouncycastle.asn1.ASN1BitString getASN1BitString()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
ASN1BitString
.
-
getString
public java.lang.String 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.
-
-