org.bouncycastle.asn1
public abstract class ASN1OctetString extends ASN1Object implements ASN1OctetStringParser
| Constructor Summary | |
|---|---|
| ASN1OctetString(byte[] string) | |
| ASN1OctetString(DEREncodable obj) | |
| Method Summary | |
|---|---|
| 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.
|
| byte[] | getOctets() |
| InputStream | getOctetStream() |
| int | hashCode() |
| ASN1OctetStringParser | parser() |
| String | toString() |
Parameters: string the octets making up the octet string.
Parameters: obj the tagged object holding the object we want. explicit true if the object is meant to be explicitly tagged false otherwise.
Throws: IllegalArgumentException if the tagged object cannot be converted.
Parameters: obj the object we want converted.
Throws: IllegalArgumentException if the object cannot be converted.