public abstract class


extends ASN1Object
implements ASN1OctetStringParser
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.DERObject
       ↳ org.bouncycastle.asn1.ASN1Object
         ↳ org.bouncycastle.asn1.ASN1OctetString
Known Direct Subclasses
Known Indirect Subclasses


Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
From interface org.bouncycastle.asn1.DERTags
Public Constructors
ASN1OctetString(byte[] string)
ASN1OctetString(DEREncodable obj)
Public Methods
static ASN1OctetString getInstance(ASN1TaggedObject obj, boolean explicit)
return an Octet String from a tagged object.
static ASN1OctetString getInstance(Object obj)
return an Octet String from the given object.
DERObject getLoadedObject()
InputStream getOctetStream()
byte[] getOctets()
int hashCode()
ASN1OctetStringParser parser()
String toString()
Inherited Methods
From class org.bouncycastle.asn1.ASN1Object
From class org.bouncycastle.asn1.DERObject
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.ASN1OctetStringParser
From interface org.bouncycastle.asn1.DEREncodable
From interface org.bouncycastle.asn1.InMemoryRepresentable

Public Constructors

public ASN1OctetString (byte[] string)

string the octets making up the octet string.

public ASN1OctetString (DEREncodable obj)

Public Methods

public static ASN1OctetString getInstance (ASN1TaggedObject obj, boolean explicit)

return an Octet String from a tagged object.

obj the tagged object holding the object we want.
explicit true if the object is meant to be explicitly tagged false otherwise.
IllegalArgumentException if the tagged object cannot be converted.

public static ASN1OctetString getInstance (Object obj)

return an Octet String from the given object.

obj the object we want converted.
IllegalArgumentException if the object cannot be converted.

public DERObject getLoadedObject ()

public InputStream getOctetStream ()

public byte[] getOctets ()

public int hashCode ()

public ASN1OctetStringParser parser ()

public String toString ()