public class MonetaryValue extends ASN1Object
MonetaryValue ::= SEQUENCE {
currency Iso4217CurrencyCode,
amount INTEGER,
exponent INTEGER }
-- value = amount * 10^exponent
| Constructor and Description |
|---|
MonetaryValue(Iso4217CurrencyCode currency,
int amount,
int exponent) |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getAmount() |
Iso4217CurrencyCode |
getCurrency() |
java.math.BigInteger |
getExponent() |
static MonetaryValue |
getInstance(java.lang.Object obj) |
ASN1Primitive |
toASN1Primitive() |
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic MonetaryValue(Iso4217CurrencyCode currency, int amount, int exponent)
public static MonetaryValue getInstance(java.lang.Object obj)
public Iso4217CurrencyCode getCurrency()
public java.math.BigInteger getAmount()
public java.math.BigInteger getExponent()
public ASN1Primitive toASN1Primitive()
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object