org.bouncycastle.asn1

## Class DERGeneralString

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.ASN1Primitive
    - - org.bouncycastle.asn1.ASN1GeneralString
      - - org.bouncycastle.asn1.DERGeneralString

- All Implemented Interfaces:
    ASN1Encodable, ASN1String, Encodable

      public class DERGeneralString
      extends ASN1GeneralString

  ASN.1 GENERAL-STRING data type.

  This is an 8-bit encoded ISO 646 (ASCII) character set with optional escapes to other character sets.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DERGeneralString(java.lang.String string)` Construct a GeneralString from the passed in String.

  - ### Method Summary

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1GeneralString

      `getInstance, getInstance, getOctets, getString, getTagged, hashCode, toString`

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Primitive

      `encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive`

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Object

      `getEncoded, getEncoded, hasEncodedTagValue`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### DERGeneralString

          public DERGeneralString(java.lang.String string)

      Construct a GeneralString from the passed in String.
      Parameters:
        `string` - the string to be contained in this object.