Class PKIFreeText

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmp.PKIFreeText
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class PKIFreeText extends org.bouncycastle.asn1.ASN1Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
    PKIFreeText(org.bouncycastle.asn1.ASN1UTF8String p)
     
    PKIFreeText(org.bouncycastle.asn1.ASN1UTF8String[] strs)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
     
    org.bouncycastle.asn1.DERUTF8String
    getStringAt(int i)
    Deprecated.
    Use #getStringAtUTF8() instead.
    org.bouncycastle.asn1.ASN1UTF8String
    Return the UTF8STRING at index i.
    int
    Return the number of string elements present.
    org.bouncycastle.asn1.ASN1Primitive
    PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String

    Methods inherited from class org.bouncycastle.asn1.ASN1Object

    encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PKIFreeText

      public PKIFreeText(org.bouncycastle.asn1.ASN1UTF8String p)
    • PKIFreeText

      public PKIFreeText(String p)
    • PKIFreeText

      public PKIFreeText(org.bouncycastle.asn1.ASN1UTF8String[] strs)
    • PKIFreeText

      public PKIFreeText(String[] strs)
  • Method Details

    • getInstance

      public static PKIFreeText getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
    • getInstance

      public static PKIFreeText getInstance(Object obj)
    • size

      public int size()
      Return the number of string elements present.
      Returns:
      number of elements present.
    • getStringAt

      public org.bouncycastle.asn1.DERUTF8String getStringAt(int i)
      Deprecated.
      Use #getStringAtUTF8() instead.
      Return the UTF8STRING at index i.
      Parameters:
      i - index of the string of interest
      Returns:
      the string at index i.
    • getStringAtUTF8

      public org.bouncycastle.asn1.ASN1UTF8String getStringAtUTF8(int i)
      Return the UTF8STRING at index i.
      Parameters:
      i - index of the string of interest
      Returns:
      the string at index i.
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
       PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String
       
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object