|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.isismtt.x509.MonetaryLimit
Monetary limit for transactions. The QcEuMonetaryLimit QC statement MUST be used in new certificates in place of the extension/attribute MonetaryLimit since January 1, 2004. For the sake of backward compatibility with certificates already in use, components SHOULD support MonetaryLimit (as well as QcEuLimitValue).
Indicates a monetary limit within which the certificate holder is authorized to act. (This value DOES NOT express a limit on the liability of the certification authority). MonetaryLimitSyntax ::= SEQUENCE { currency PrintableString (SIZE(3)), amount INTEGER, exponent INTEGER }
currency must be the ISO code.
value = amount�10*exponent
| Constructor Summary | |
MonetaryLimit(java.lang.String currency,
int amount,
int exponent)
Constructor from a given details. |
|
| Method Summary | |
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. |
| Methods inherited from class org.bouncycastle.asn1.ASN1Object |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MonetaryLimit(java.lang.String currency,
int amount,
int exponent)
value = amount�10^exponent
currency - The currency. Must be the ISO code.amount - The amountexponent - The exponent| Method Detail |
public 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()
Returns: MonetaryLimitSyntax ::= SEQUENCE { currency PrintableString (SIZE(3)), amount INTEGER, exponent INTEGER }
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object
|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||