ASN1Encodable
, ASN1OctetStringParser
, InMemoryRepresentable
, Encodable
public class DEROctetString extends ASN1OctetString
Constructor | Description |
---|---|
DEROctetString(byte[] string) |
Base constructor.
|
DEROctetString(ASN1Encodable obj) |
Constructor from the encoding of an ASN.1 object.
|
toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
getInstance, getInstance, getLoadedObject, getOctets, getOctetStream, hashCode, parser, toString
equals, fromByteArray, toASN1Primitive
public DEROctetString(byte[] string)
string
- the octets making up the octet string.public DEROctetString(ASN1Encodable obj) throws java.io.IOException
obj
- the object to be encoded.java.io.IOException