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
public class DEROctetString extends ASN1OctetString
Carrier class for a DER encoding OCTET STRING
-
-
Constructor Summary
Constructors Constructor Description DEROctetString(byte[] string)
Base constructor.DEROctetString(ASN1Encodable obj)
Constructor from the encoding of an ASN.1 object.
-
Method Summary
-
Methods inherited from class org.bouncycastle.asn1.ASN1OctetString
getInstance, getInstance, getLoadedObject, getOctets, 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 Detail
-
DEROctetString
public DEROctetString(byte[] string)
Base constructor.- Parameters:
string
- the octets making up the octet string.
-
DEROctetString
public DEROctetString(ASN1Encodable obj) throws java.io.IOException
Constructor from the encoding of an ASN.1 object.- Parameters:
obj
- the object to be encoded.- Throws:
java.io.IOException
-
-