org.bouncycastle.asn1.isismtt.x509
public class MonetaryLimit extends ASN1Encodable
MonetaryLimitSyntax ::= SEQUENCE { currency PrintableString (SIZE(3)), amount INTEGER, exponent INTEGER }currency must be the ISO code. value = amounto?=10*exponent
Constructor Summary | |
---|---|
MonetaryLimit(String currency, int amount, int exponent)
Constructor from a given details.
|
Method Summary | |
---|---|
BigInteger | getAmount() |
String | getCurrency() |
BigInteger | getExponent() |
static MonetaryLimit | getInstance(Object obj) |
DERObject | toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
Parameters: currency The currency. Must be the ISO code. amount The amount exponent The exponent
MonetaryLimitSyntax ::= SEQUENCE { currency PrintableString (SIZE(3)), amount INTEGER, exponent INTEGER }
Returns: a DERObject