public class BERConstructedOctetString extends DEROctetString
| Modifier and Type | Field and Description |
|---|---|
private static int |
MAX_LENGTH |
private java.util.Vector |
octs |
stringBER, DERAPPLICATION, 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(java.util.Vector octs) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(DEROutputStream out) |
private java.util.Vector |
generateOcts() |
java.util.Enumeration |
getObjects()
return the DER octets that make up this string.
|
byte[] |
getOctets() |
private static byte[] |
toBytes(java.util.Vector octs)
convert a vector of octet strings into a single byte string
|
asn1Equals, getInstance, getInstance, getOctetStream, hashCode, parser, toStringequals, fromByteArraytoASN1ObjectgetDEREncoded, getDERObject, getEncoded, getEncodedclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDERObjectprivate static final int MAX_LENGTH
private java.util.Vector octs
public BERConstructedOctetString(byte[] string)
string - the octets making up the octet string.public BERConstructedOctetString(java.util.Vector octs)
public BERConstructedOctetString(DERObject obj)
public BERConstructedOctetString(DEREncodable obj)
private static byte[] toBytes(java.util.Vector octs)
octs - Vector of octet stringspublic byte[] getOctets()
getOctets in class ASN1OctetStringpublic java.util.Enumeration getObjects()
private java.util.Vector generateOcts()
public void encode(DEROutputStream out) throws java.io.IOException
encode in class DEROctetStringjava.io.IOExceptionCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.