Methods Summary |
---|
public java.lang.String | getAlphabetic()
return ((DERPrintableString)obj).getString();
|
public static org.bouncycastle.asn1.x509.qualified.Iso4217CurrencyCode | getInstance(java.lang.Object obj)
if (obj == null || obj instanceof Iso4217CurrencyCode)
{
return (Iso4217CurrencyCode)obj;
}
if (obj instanceof DERInteger)
{
DERInteger numericobj = DERInteger.getInstance(obj);
int numeric = numericobj.getValue().intValue();
return new Iso4217CurrencyCode(numeric);
}
else
if (obj instanceof DERPrintableString)
{
DERPrintableString alphabetic = DERPrintableString.getInstance(obj);
return new Iso4217CurrencyCode(alphabetic.getString());
}
throw new IllegalArgumentException("unknown object in getInstance");
|
public int | getNumeric()
return ((DERInteger)obj).getValue().intValue();
|
public boolean | isAlphabetic()
return obj instanceof DERPrintableString;
|
public org.bouncycastle.asn1.DERObject | toASN1Object()
return obj.getDERObject();
|