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
ConstructorsConstructorDescriptionASN1BitStringBC(org.bouncycastle.asn1.ASN1BitString asn1BitString) Creates new wrapper instance forASN1BitString. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1BitStringGets actual org.bouncycastle object being wrapped.Calls actualgetStringmethod for the wrapped ASN1String object.intintValue()Calls actualintValuemethod for the wrapped ASN1BitString object.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
getEncoded, getEncoded, getPrimitiveMethods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1PrimitiveMethods 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-ASN1BitStringto be wrapped
-
-
Method Details
-
getASN1BitString
public org.bouncycastle.asn1.ASN1BitString getASN1BitString()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1BitString.
-
getString
Calls actualgetStringmethod for the wrapped ASN1String object.- Specified by:
-
getStringin interfaceIASN1String - Returns:
- the resulting string.
-
intValue
public int intValue()Calls actualintValuemethod for the wrapped ASN1BitString object.- Specified by:
-
intValuein interfaceIASN1BitString - Returns:
- int value of the wrapped ASN1BitString.
-