um.di.lmf.enote
Class OpenBlindedOrder

java.lang.Object
  extended byum.di.lmf.enote.BlindedOrder
      extended byum.di.lmf.enote.OpenBlindedOrder
All Implemented Interfaces:
iaik.asn1.ASN1Type

public class OpenBlindedOrder
extends BlindedOrder
implements iaik.asn1.ASN1Type

This class represents a digital cash note blinded order, used in the withdrawal protocol


Field Summary
protected  java.math.BigInteger blinding_factor
          The private information used to mask the blinded hash
protected  OpenOrder oorder
          The enclosed open order
 
Fields inherited from class um.di.lmf.enote.BlindedOrder
blinded_hash
 
Constructor Summary
OpenBlindedOrder()
          This is the constructor that should be used before building an object with decode.
OpenBlindedOrder(OpenOrder oorder)
          This constructor builds an open blinded order from an open order.
 
Method Summary
 void decode(iaik.asn1.ASN1Object obj)
          Decodes an ASN1Object according to the ASN.1 type the class implements.
 java.math.BigInteger getBlindingFactor()
          Returns the blinding_factor
 OpenOrder getOpenOrder()
          Returns the enclosed open order
 iaik.asn1.ASN1Object toASN1Object()
          Creates an ASN1Object according to the ASN.1 type the class implements.
 iaik.asn1.ASN1Object toBlindedOrderASN1Object()
          Creates an ASN1Object of the enclosed BlindedOrder object
 
Methods inherited from class um.di.lmf.enote.BlindedOrder
getBlindedHash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blinding_factor

protected java.math.BigInteger blinding_factor
The private information used to mask the blinded hash


oorder

protected OpenOrder oorder
The enclosed open order

Constructor Detail

OpenBlindedOrder

public OpenBlindedOrder()
This is the constructor that should be used before building an object with decode.


OpenBlindedOrder

public OpenBlindedOrder(OpenOrder oorder)
                 throws java.security.NoSuchAlgorithmException,
                        RSABlindSignatureException,
                        iaik.asn1.CodingException
This constructor builds an open blinded order from an open order. The super class reveals only the blinded hash.

Method Detail

getBlindingFactor

public java.math.BigInteger getBlindingFactor()
Returns the blinding_factor


getOpenOrder

public OpenOrder getOpenOrder()
Returns the enclosed open order


toBlindedOrderASN1Object

public iaik.asn1.ASN1Object toBlindedOrderASN1Object()
                                              throws iaik.asn1.CodingException
Creates an ASN1Object of the enclosed BlindedOrder object

Throws:
iaik.asn1.CodingException

decode

public void decode(iaik.asn1.ASN1Object obj)
            throws iaik.asn1.CodingException
Decodes an ASN1Object according to the ASN.1 type the class implements.

Specified by:
decode in interface iaik.asn1.ASN1Type
Overrides:
decode in class BlindedOrder
Throws:
iaik.asn1.CodingException

toASN1Object

public iaik.asn1.ASN1Object toASN1Object()
                                  throws iaik.asn1.CodingException
Creates an ASN1Object according to the ASN.1 type the class implements.

Specified by:
toASN1Object in interface iaik.asn1.ASN1Type
Overrides:
toASN1Object in class BlindedOrder
Throws:
iaik.asn1.CodingException