Package org.bouncycastle.asn1.cmp
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(java.lang.String p)PKIFreeText(java.lang.String[] strs)PKIFreeText(org.bouncycastle.asn1.ASN1UTF8String p)PKIFreeText(org.bouncycastle.asn1.ASN1UTF8String[] strs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PKIFreeTextgetInstance(java.lang.Object obj)static PKIFreeTextgetInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)org.bouncycastle.asn1.DERUTF8StringgetStringAt(int i)Deprecated.UsegetStringAtUTF8(int)instead.org.bouncycastle.asn1.ASN1UTF8StringgetStringAtUTF8(int i)Return the UTF8STRING at index i.intsize()Return the number of string elements present.org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String
-
-
-
Method Detail
-
getInstance
public static PKIFreeText getInstance(org.bouncycastle.asn1.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 org.bouncycastle.asn1.DERUTF8String getStringAt(int i)
Deprecated.UsegetStringAtUTF8(int)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:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-
-