Top Fields Constructors Methods
org.bouncycastle.asn1.cmp

public Class PKIFreeText

extends ASN1Object
Class Inheritance
Imports
java.util.Enumeration, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence, .DERUTF8String

Field Summary

Modifier and TypeField and Description
pack-priv ASN1Sequence

Constructor Summary

AccessConstructor and Description
private
public
public
public
public

Method Summary

Modifier and TypeMethod and Description
public static PKIFreeText
getInstance(ASN1TaggedObject obj, boolean explicit)

public static PKIFreeText
public DERUTF8String

Returns:

the string at index i.
getStringAt
(int
index of the string of interest
i
)

Return the UTF8STRING at index i.

public int

Returns:

number of elements present.
size
()

Return the number of string elements present.

public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

stringsback to summary
pack-priv ASN1Sequence strings

Constructor Detail

PKIFreeTextback to summary
private PKIFreeText(ASN1Sequence seq)
PKIFreeTextback to summary
public PKIFreeText(DERUTF8String p)
PKIFreeTextback to summary
public PKIFreeText(String p)
PKIFreeTextback to summary
public PKIFreeText(DERUTF8String[] strs)
PKIFreeTextback to summary
public PKIFreeText(String[] strs)

Method Detail

getInstanceback to summary
public static PKIFreeText getInstance(ASN1TaggedObject obj, boolean explicit)
getInstanceback to summary
public static PKIFreeText getInstance(Object obj)
getStringAtback to summary
public DERUTF8String getStringAt(int i)

Return the UTF8STRING at index i.

Parameters
i:int

index of the string of interest

Returns:DERUTF8String

the string at index i.

sizeback to summary
public int size()

Return the number of string elements present.

Returns:int

number of elements present.

toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String
Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.