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, toString
equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toASN1Primitive
public DEROctetString(byte[] string)
string
- the octets making up the octet string.public DEROctetString(ASN1Encodable obj) throws java.io.IOException
java.io.IOException
boolean isConstructed()
isConstructed
in class ASN1Primitive
int encodedLength()
encodedLength
in class ASN1Primitive
void encode(ASN1OutputStream out) throws java.io.IOException
encode
in class ASN1OctetString
java.io.IOException
static void encode(DEROutputStream derOut, byte[] bytes) throws java.io.IOException
java.io.IOException