Class ASN1OctetStringBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.ASN1PrimitiveBCFips
com.itextpdf.bouncycastlefips.asn1.ASN1OctetStringBCFips
- All Implemented Interfaces:
-
IASN1Encodable
,IASN1OctetString
,IASN1Primitive
- Direct Known Subclasses:
-
DEROctetStringBCFips
Wrapper class for
ASN1OctetString
.
-
Constructor Summary
ConstructorDescriptionASN1OctetStringBCFips
(IASN1TaggedObject taggedObject, boolean b) Creates new wrapper instance forASN1OctetString
.ASN1OctetStringBCFips
(org.bouncycastle.asn1.ASN1OctetString string) Creates new wrapper instance forASN1OctetString
. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Calls actualgetOctets
method for the wrapped ASN1OctetString object.org.bouncycastle.asn1.ASN1OctetString
Gets actual org.bouncycastle object being wrapped.Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1PrimitiveBCFips
getEncoded, getEncoded, getPrimitive
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
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Primitive
getEncoded, getEncoded
-
Constructor Details
-
ASN1OctetStringBCFips
public ASN1OctetStringBCFips(org.bouncycastle.asn1.ASN1OctetString string) Creates new wrapper instance forASN1OctetString
.- Parameters:
-
string
-ASN1OctetString
to be wrapped
-
ASN1OctetStringBCFips
Creates new wrapper instance forASN1OctetString
.- Parameters:
-
taggedObject
- ASN1TaggedObject wrapper to createASN1OctetString
-
b
- boolean to createASN1OctetString
-
-
Method Details
-
getOctetString
public org.bouncycastle.asn1.ASN1OctetString getOctetString()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1OctetString
.
-
getOctets
public byte[] getOctets()Calls actualgetOctets
method for the wrapped ASN1OctetString object.- Specified by:
-
getOctets
in interfaceIASN1OctetString
- Returns:
- octets byte array.
-