Methods Summary |
---|
public static org.bouncycastle.asn1.cmp.PKIFreeText | getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
return getInstance(ASN1Sequence.getInstance(obj, explicit));
|
public static org.bouncycastle.asn1.cmp.PKIFreeText | getInstance(java.lang.Object obj)
if (obj instanceof PKIFreeText)
{
return (PKIFreeText)obj;
}
else if (obj instanceof ASN1Sequence)
{
return new PKIFreeText((ASN1Sequence)obj);
}
throw new IllegalArgumentException("Unknown object in factory");
|
public org.bouncycastle.asn1.DERUTF8String | getStringAt(int i)Return the UTF8STRING at index i.
return (DERUTF8String)strings.getObjectAt(i);
|
public int | size()Return the number of string elements present.
return strings.size();
|
public org.bouncycastle.asn1.DERObject | toASN1Object()PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String
return strings;
|