|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectum.di.lmf.enote.Order
um.di.lmf.enote.ENote
This class represents a digital cash note
Field Summary | |
protected byte[] |
signature
The bank's signature |
Fields inherited from class um.di.lmf.enote.Order |
amount, bank_cert, commit1, commit2, npairs, pub_random1, pub_random2, serial |
Constructor Summary | |
ENote()
This is the constructor that should be used before building an object with decode. |
|
ENote(Order order,
byte[] signature)
This constructor builds an eNote from an order and a signature. |
Method Summary | |
void |
decode(iaik.asn1.ASN1Object obj)
Decodes an ASN1Object according to the ASN.1 type the class implements. |
byte[] |
getSignature()
Returns the note signature |
iaik.asn1.ASN1Object |
toASN1Object()
Creates an ASN1Object according to the ASN.1 type the class implements. |
Methods inherited from class um.di.lmf.enote.Order |
getAmount, getBankCertificate, getCommitment, getNPairs, getPubRandom, getSerial |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected byte[] signature
Constructor Detail |
public ENote()
public ENote(Order order, byte[] signature)
Method Detail |
public byte[] getSignature()
public void decode(iaik.asn1.ASN1Object obj) throws iaik.asn1.CodingException
decode
in interface iaik.asn1.ASN1Type
decode
in class Order
iaik.asn1.CodingException
public iaik.asn1.ASN1Object toASN1Object() throws iaik.asn1.CodingException
toASN1Object
in interface iaik.asn1.ASN1Type
toASN1Object
in class Order
iaik.asn1.CodingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |