org.bouncycastle.asn1.x509.qualified
public class Iso4217CurrencyCode extends ASN1Encodable implements ASN1Choice
Iso4217CurrencyCode ::= CHOICE { alphabetic PrintableString (SIZE 3), --Recommended numeric INTEGER (1..999) } -- Alphabetic or numeric currency code as defined in ISO 4217 -- It is recommended that the Alphabetic form is used
BER, DER
Constructor and Description |
---|
Iso4217CurrencyCode(int numeric) |
Iso4217CurrencyCode(java.lang.String alphabetic) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlphabetic() |
static Iso4217CurrencyCode |
getInstance(java.lang.Object obj) |
int |
getNumeric() |
boolean |
isAlphabetic() |
DERObject |
toASN1Object() |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public Iso4217CurrencyCode(int numeric)
public Iso4217CurrencyCode(java.lang.String alphabetic)
public static Iso4217CurrencyCode getInstance(java.lang.Object obj)
public boolean isAlphabetic()
public java.lang.String getAlphabetic()
public int getNumeric()
public DERObject toASN1Object()
toASN1Object
in class ASN1Encodable