DERUTF8String (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.asn1

## Class DERUTF8String

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.ASN1Primitive
    - - org.bouncycastle.asn1.ASN1UTF8String
      - - org.bouncycastle.asn1.DERUTF8String

- All Implemented Interfaces:
    ASN1Encodable, ASN1String, Encodable

      public class DERUTF8String
      extends ASN1UTF8String

  DER UTF8String object.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DERUTF8String(java.lang.String string)` Basic constructor

  - ### Method Summary

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

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

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

      `encodeTo, encodeTo, equals, equals, equals, fromByteArray, fromStream, 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

    - #### DERUTF8String

          public DERUTF8String(java.lang.String string)

      Basic constructor
      Parameters:
        `string` - the string to be carried in the UTF8String object,