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

org.bouncycastle.asn1

## Interface ASN1String

- All Known Implementing Classes:
    ASN1BitString, ASN1BMPString, ASN1GeneralString, ASN1GraphicString, ASN1IA5String, ASN1NumericString, ASN1PrintableString, ASN1T61String, ASN1UniversalString, ASN1UTF8String, ASN1VideotexString, ASN1VisibleString, BERBitString, DERBitString, DERBMPString, DERGeneralString, DERGraphicString, DERIA5String, DERNumericString, DERPrintableString, DERT61String, DERUniversalString, DERUTF8String, DERVideotexString, DERVisibleString, DirectoryString, DLBitString, NetscapeCertType, NetscapeRevocationURL, PKIFailureInfo, ReasonFlags, VerisignCzagExtension

      public interface ASN1String

  General interface implemented by ASN.1 STRING objects for extracting the content String.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getString()` Return a Java String representation of this STRING type's content.

- - ### Method Detail

    - #### getString

          java.lang.String getString()

      Return a Java String representation of this STRING type's content.
      Returns:
        a Java String representation of this STRING.