Class ASN1String<T>

java.lang.Object
com.hierynomus.asn1.types.ASN1Object<T>
com.hierynomus.asn1.types.string.ASN1String<T>
All Implemented Interfaces:
ASN1Constructed, ASN1Primitive, Iterable<ASN1Object>
Direct Known Subclasses:
ASN1BitString, ASN1OctetString

public abstract class ASN1String<T> extends ASN1Object<T> implements ASN1Primitive, ASN1Constructed
An ASN.1 STRING type can either be expressed as a Primitive encoded or Constructed encoded sequence.
  • Field Details

    • valueBytes

      protected byte[] valueBytes
  • Constructor Details

    • ASN1String

      public ASN1String(ASN1Tag<?> tag, byte[] bytes)
  • Method Details

    • iterator

      public Iterator<ASN1Object> iterator()
      Specified by:
      iterator in interface Iterable<T>
    • getValueBytes

      public byte[] getValueBytes()
    • length

      public abstract int length()