org.bouncycastle.asn1.cmp
Class PKIFreeText
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmp.PKIFreeText
- All Implemented Interfaces:
- ASN1Encodable
public class PKIFreeText
- extends ASN1Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PKIFreeText
public PKIFreeText(DERUTF8String p)
PKIFreeText
public PKIFreeText(java.lang.String p)
PKIFreeText
public PKIFreeText(DERUTF8String[] strs)
PKIFreeText
public PKIFreeText(java.lang.String[] strs)
getInstance
public static PKIFreeText getInstance(ASN1TaggedObject obj,
boolean explicit)
getInstance
public static PKIFreeText getInstance(java.lang.Object obj)
size
public int size()
- Return the number of string elements present.
- Returns:
- number of elements present.
getStringAt
public DERUTF8String getStringAt(int i)
- Return the UTF8STRING at index i.
- Parameters:
i
- index of the string of interest
- Returns:
- the string at index i.
toASN1Primitive
public ASN1Primitive toASN1Primitive()
PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String
- Specified by:
toASN1Primitive
in interface ASN1Encodable
- Specified by:
toASN1Primitive
in class ASN1Object