public class

MonetaryValue

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.x509.qualified.MonetaryValue

Class Overview

The MonetaryValue object.

 MonetaryValue  ::=  SEQUENCE {
       currency              Iso4217CurrencyCode,
       amount               INTEGER, 
       exponent             INTEGER }
 -- value = amount * 10^exponent
 

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
MonetaryValue(ASN1Sequence seq)
MonetaryValue(Iso4217CurrencyCode currency, int amount, int exponent)
Public Methods
BigInteger getAmount()
Iso4217CurrencyCode getCurrency()
BigInteger getExponent()
static MonetaryValue getInstance(Object obj)
DERObject toASN1Object()
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public MonetaryValue (ASN1Sequence seq)

public MonetaryValue (Iso4217CurrencyCode currency, int amount, int exponent)

Public Methods

public BigInteger getAmount ()

public Iso4217CurrencyCode getCurrency ()

public BigInteger getExponent ()

public static MonetaryValue getInstance (Object obj)

public DERObject toASN1Object ()