org.apache.asn1.der
Class BERConstructedOctetString
java.lang.Object
org.apache.asn1.der.DERObject
org.apache.asn1.der.DEROctetString
org.apache.asn1.der.BERConstructedOctetString
- All Implemented Interfaces:
- DEREncodable
public class BERConstructedOctetString
- extends DEROctetString
Field Summary |
private java.util.Vector |
octets
|
Fields inherited from class org.apache.asn1.der.DERObject |
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, SET, T61_STRING, tag, TAGGED, TERMINATOR, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, value, VIDEOTEX_STRING, VISIBLE_STRING |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
octets
private java.util.Vector octets
BERConstructedOctetString
public BERConstructedOctetString(byte[] string)
- Parameters:
string
- the octets making up the octet string.
BERConstructedOctetString
public BERConstructedOctetString(java.util.Vector octets)
toBytes
private static byte[] toBytes(java.util.Vector octs)
- Convert a vector of octet strings into a single byte string.
getObjects
public java.util.Enumeration getObjects()
- Returns:
- Enumeration the DER octets that make up this string.
generateOcts
private java.util.Vector generateOcts()
encode
public void encode(ASN1OutputStream out)
throws java.io.IOException
- Specified by:
encode
in interface DEREncodable
- Overrides:
encode
in class DERObject
- Throws:
java.io.IOException
Copyright © 2005-2009 . All Rights Reserved.