public class DEROctetString extends ASN1OctetString
string
APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERAL_STRING, GENERALIZED_TIME, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SEQUENCE_OF, SET, SET_OF, T61_STRING, TAGGED, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, VIDEOTEX_STRING, VISIBLE_STRING
Constructor and Description |
---|
DEROctetString(byte[] string) |
DEROctetString(DEREncodable obj) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
encode(DEROutputStream out) |
equals, getInstance, getInstance, getOctets, hashCode
getDERObject
public DEROctetString(byte[] string)
string
- the octets making up the octet string.public DEROctetString(DEREncodable obj)
void encode(DEROutputStream out) throws java.io.IOException
encode
in class ASN1OctetString
java.io.IOException