Package org.bouncycastle.asn1.cmp
Class PKIFreeText
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmp.PKIFreeText
- All Implemented Interfaces:
ASN1Encodable,Encodable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PKIFreeTextgetInstance(Object obj) static PKIFreeTextgetInstance(ASN1TaggedObject obj, boolean explicit) getStringAt(int i) Return the UTF8STRING at index i.intsize()Return the number of string elements present.PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8StringMethods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
PKIFreeText
-
PKIFreeText
-
PKIFreeText
-
PKIFreeText
-
-
Method Details
-
getInstance
-
getInstance
-
size
public int size()Return the number of string elements present.- Returns:
- number of elements present.
-
getStringAt
Return the UTF8STRING at index i.- Parameters:
i- index of the string of interest- Returns:
- the string at index i.
-
toASN1Primitive
PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String
- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-