public class MonetaryValue extends ASN1Encodable
MonetaryValue ::= SEQUENCE { currency Iso4217CurrencyCode, amount INTEGER, exponent INTEGER } -- value = amount * 10^exponent
BER, DER
Constructor and Description |
---|
MonetaryValue(ASN1Sequence seq) |
MonetaryValue(Iso4217CurrencyCode currency,
int amount,
int exponent) |
Modifier and Type | Method and Description |
---|---|
BigInteger |
getAmount() |
Iso4217CurrencyCode |
getCurrency() |
BigInteger |
getExponent() |
static MonetaryValue |
getInstance(Object obj) |
DERObject |
toASN1Object() |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public MonetaryValue(ASN1Sequence seq)
public MonetaryValue(Iso4217CurrencyCode currency, int amount, int exponent)
public static MonetaryValue getInstance(Object obj)
public Iso4217CurrencyCode getCurrency()
public BigInteger getAmount()
public BigInteger getExponent()
public DERObject toASN1Object()
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.