public class BERConstructedOctetString extends BEROctetString
Modifier and Type | Field and Description |
---|---|
private static int |
MAX_LENGTH
Deprecated.
|
private java.util.Vector |
octs
Deprecated.
|
string
Constructor and Description |
---|
BERConstructedOctetString(ASN1Encodable obj)
Deprecated.
|
BERConstructedOctetString(ASN1Primitive obj)
Deprecated.
|
BERConstructedOctetString(byte[] string)
Deprecated.
|
BERConstructedOctetString(java.util.Vector octs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BEROctetString |
fromSequence(ASN1Sequence seq)
Deprecated.
|
private java.util.Vector |
generateOcts()
Deprecated.
|
java.util.Enumeration |
getObjects()
Deprecated.
return the DER octets that make up this string.
|
byte[] |
getOctets()
Deprecated.
Return the content of the OCTET STRING as a byte array.
|
private static byte[] |
toByteArray(ASN1Primitive obj)
Deprecated.
|
private static byte[] |
toBytes(java.util.Vector octs)
Deprecated.
convert a vector of octet strings into a single byte string
|
encode, encodedLength, isConstructed
asn1Equals, getInstance, getInstance, getLoadedObject, getOctetStream, hashCode, parser, toDERObject, toDLObject, toString
equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toASN1Primitive
private 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(ASN1Primitive obj)
public BERConstructedOctetString(ASN1Encodable obj)
private static byte[] toBytes(java.util.Vector octs)
private static byte[] toByteArray(ASN1Primitive obj)
public byte[] getOctets()
ASN1OctetString
getOctets
in class BEROctetString
public java.util.Enumeration getObjects()
getObjects
in class BEROctetString
private java.util.Vector generateOcts()
public static BEROctetString fromSequence(ASN1Sequence seq)