public class MonetaryLimit extends ASN1Object
MonetaryLimitSyntax ::= SEQUENCE
{
currency PrintableString (SIZE(3)),
amount INTEGER,
exponent INTEGER
}
currency must be the ISO code.
value = amount�10*exponent| Constructor and Description |
|---|
MonetaryLimit(java.lang.String currency,
int amount,
int exponent)
Constructor from a given details.
|
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getAmount() |
java.lang.String |
getCurrency() |
java.math.BigInteger |
getExponent() |
static MonetaryLimit |
getInstance(java.lang.Object obj) |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic MonetaryLimit(java.lang.String currency,
int amount,
int exponent)
currency - The currency. Must be the ISO code.amount - The amountexponent - The exponentpublic static MonetaryLimit getInstance(java.lang.Object obj)
public java.lang.String getCurrency()
public java.math.BigInteger getAmount()
public java.math.BigInteger getExponent()
public ASN1Primitive toASN1Primitive()
MonetaryLimitSyntax ::= SEQUENCE
{
currency PrintableString (SIZE(3)),
amount INTEGER,
exponent INTEGER
}
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object