public class BEROctetString extends ASN1OctetString
Constructor and Description |
---|
BEROctetString(ASN1OctetString[] octs) |
BEROctetString(byte[] string) |
Modifier and Type | Method and Description |
---|---|
void |
encode(ASN1OutputStream out) |
java.util.Enumeration |
getObjects()
return the DER octets that make up this string.
|
byte[] |
getOctets()
Return the content of the OCTET STRING as a byte array.
|
getInstance, getInstance, getLoadedObject, getOctetStream, hashCode, parser, toString
equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toASN1Primitive
public BEROctetString(byte[] string)
string
- the octets making up the octet string.public BEROctetString(ASN1OctetString[] octs)
public byte[] getOctets()
ASN1OctetString
getOctets
in class ASN1OctetString
public java.util.Enumeration getObjects()
public void encode(ASN1OutputStream out) throws java.io.IOException
java.io.IOException