Top Description Fields Constructors Methods
org.bouncycastle.asn1.x509.qualified

public Class Iso4217CurrencyCode

extends ASN1Object
implements ASN1Choice
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.ASN1Choice
Imports
org.bouncycastle.asn1.ASN1Choice, .ASN1Encodable, .ASN1Integer, .ASN1Object, .ASN1Primitive, .ASN1PrintableString, .DERPrintableString

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

Field Summary

Modifier and TypeField and Description
pack-priv final int
pack-priv int
pack-priv final int
pack-priv final int
pack-priv ASN1Encodable

Constructor Summary

AccessConstructor and Description
public
Iso4217CurrencyCode(int numeric)

public

Method Summary

Modifier and TypeMethod and Description
public String
public static Iso4217CurrencyCode
public int
public boolean
public ASN1Primitive
toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

ALPHABETIC_MAXSIZEback to summary
pack-priv final int ALPHABETIC_MAXSIZE
numericback to summary
pack-priv int numeric
NUMERIC_MAXSIZEback to summary
pack-priv final int NUMERIC_MAXSIZE
NUMERIC_MINSIZEback to summary
pack-priv final int NUMERIC_MINSIZE
objback to summary
pack-priv ASN1Encodable obj

Constructor Detail

Iso4217CurrencyCodeback to summary
public Iso4217CurrencyCode(int numeric)
Iso4217CurrencyCodeback to summary
public Iso4217CurrencyCode(String alphabetic)

Method Detail

getAlphabeticback to summary
public String getAlphabetic()
getInstanceback to summary
public static Iso4217CurrencyCode getInstance(Object obj)
getNumericback to summary
public int getNumeric()
isAlphabeticback to summary
public boolean isAlphabetic()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

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

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.