All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iaik.asn1.GeneralString

java.lang.Object
   |
   +----iaik.asn1.ASN1Object
           |
           +----iaik.asn1.GeneralString

public class GeneralString
extends ASN1Object
This class implements the native ASN.1 type "GENERAL STRING".


Constructor Index

 o GeneralString()
 o GeneralString(String)

Method Index

 o decode(int, int, DerDecodeInputStream)
Decodes an ASN1Object by reading the encoding from a DerDecodeInputStream.
 o encode(DerEncodeOutputStream)
Encodes this ASN1Object as a binary DER byte array and writes the result to the DerEncodeOutputStream.
 o getValue()
Returns the value of this ASN1Object.
 o init()
Initialize the object factory method.
 o setValue(Object)
Sets the value of this ASN1Object.
 o toString()
Returns a string that represents the contents of this BitString.

Constructors

 o GeneralString
 protected GeneralString()
 o GeneralString
 public GeneralString(String value)

Methods

 o init
 protected static void init()
Initialize the object factory method.

 o getValue
 public Object getValue()
Returns the value of this ASN1Object.

Overrides:
getValue in class ASN1Object
 o encode
 protected void encode(DerEncodeOutputStream os)
Encodes this ASN1Object as a binary DER byte array and writes the result to the DerEncodeOutputStream.

Overrides:
encode in class ASN1Object
 o decode
 protected void decode(int tag,
                       int length,
                       DerDecodeInputStream is) throws IOException
Decodes an ASN1Object by reading the encoding from a DerDecodeInputStream.

Overrides:
decode in class ASN1Object
 o setValue
 public void setValue(Object object)
Sets the value of this ASN1Object.

Overrides:
setValue in class ASN1Object
 o toString
 public String toString()
Returns a string that represents the contents of this BitString.

Returns:
the string representation
Overrides:
toString in class ASN1Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index