Package org.bouncycastle.asn1
Class DEROctetString
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1OctetString
org.bouncycastle.asn1.DEROctetString
- All Implemented Interfaces:
ASN1Encodable
,ASN1OctetStringParser
,InMemoryRepresentable
,Encodable
Carrier class for a DER encoding OCTET STRING
-
Constructor Summary
ConstructorsConstructorDescriptionDEROctetString
(byte[] string) Base constructor.Constructor from the encoding of an ASN.1 object. -
Method Summary
Methods inherited from class org.bouncycastle.asn1.ASN1OctetString
getInstance, getInstance, getLoadedObject, getOctets, getOctetsLength, getOctetStream, hashCode, parser, toString
Methods inherited from class org.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
getEncoded, getEncoded, hasEncodedTagValue
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
-
Constructor Details
-
DEROctetString
public DEROctetString(byte[] string) Base constructor.- Parameters:
string
- the octets making up the octet string.
-
DEROctetString
Constructor from the encoding of an ASN.1 object.- Parameters:
obj
- the object to be encoded.- Throws:
IOException
-