public class DEROctetString extends ASN1OctetString
string| Constructor and Description |
|---|
DEROctetString(ASN1Encodable obj) |
DEROctetString(byte[] string) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
encode(ASN1OutputStream out) |
(package private) static void |
encode(DEROutputStream derOut,
byte[] bytes) |
(package private) int |
encodedLength() |
(package private) boolean |
isConstructed() |
asn1Equals, getInstance, getInstance, getLoadedObject, getOctets, getOctetStream, hashCode, parser, toDERObject, toDLObject, toStringequals, fromByteArray, toASN1PrimitivegetEncoded, getEncoded, hasEncodedTagValue, toASN1Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waittoASN1Primitivepublic DEROctetString(byte[] string)
string - the octets making up the octet string.public DEROctetString(ASN1Encodable obj) throws java.io.IOException
java.io.IOExceptionboolean isConstructed()
isConstructed in class ASN1Primitiveint encodedLength()
encodedLength in class ASN1Primitivevoid encode(ASN1OutputStream out) throws java.io.IOException
encode in class ASN1OctetStringjava.io.IOExceptionstatic void encode(DEROutputStream derOut, byte[] bytes) throws java.io.IOException
java.io.IOException