org.bouncycastle.asn1.x509.qualified

Class Iso4217CurrencyCode

public class Iso4217CurrencyCode extends ASN1Encodable implements ASN1Choice

The Iso4217CurrencyCode object.
 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
 
Constructor Summary
Iso4217CurrencyCode(int numeric)
Iso4217CurrencyCode(String alphabetic)
Method Summary
StringgetAlphabetic()
static Iso4217CurrencyCodegetInstance(Object obj)
intgetNumeric()
booleanisAlphabetic()
DERObjecttoASN1Object()

Constructor Detail

Iso4217CurrencyCode

public Iso4217CurrencyCode(int numeric)

Iso4217CurrencyCode

public Iso4217CurrencyCode(String alphabetic)

Method Detail

getAlphabetic

public String getAlphabetic()

getInstance

public static Iso4217CurrencyCode getInstance(Object obj)

getNumeric

public int getNumeric()

isAlphabetic

public boolean isAlphabetic()

toASN1Object

public DERObject toASN1Object()