public class BERConstructedOctetString extends DEROctetString
BER, DER
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 |
---|
BERConstructedOctetString(byte[] string) |
BERConstructedOctetString(DEREncodable obj) |
BERConstructedOctetString(DERObject obj) |
BERConstructedOctetString(Vector octs) |
Modifier and Type | Method and Description |
---|---|
void |
encode(DEROutputStream out) |
static BERConstructedOctetString |
fromSequence(ASN1Sequence seq) |
Enumeration |
getObjects()
return the DER octets that make up this string.
|
byte[] |
getOctets() |
getInstance, getInstance, getLoadedObject, getOctetStream, hashCode, parser, toString
equals, fromByteArray
toASN1Object
getDEREncoded, getDERObject, getEncoded, getEncoded
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDERObject
public BERConstructedOctetString(byte[] string)
string
- the octets making up the octet string.public BERConstructedOctetString(Vector octs)
public BERConstructedOctetString(DERObject obj)
public BERConstructedOctetString(DEREncodable obj)
public byte[] getOctets()
getOctets
in class ASN1OctetString
public Enumeration getObjects()
public void encode(DEROutputStream out) throws IOException
IOException
public static BERConstructedOctetString fromSequence(ASN1Sequence seq)
Copyright © 2015. All rights reserved.