|
oc-issuer
0.0.2
|
currency description document More...
#include <model.hpp>

Public Member Functions | |
| crow::json::wvalue | to_json () const |
Public Attributes | |
| std::string | additional_info |
| time_t | cdd_expiry_date |
| std::string | cdd_location |
| size_t | cdd_serial |
| time_t | cdd_signing_date |
| serial number of currency description document | |
| size_t | currency_divisor |
| std::string | currency_name |
| divisor used for coins of this currency | |
| std::vector< unsigned > | denominations |
| name of the currency (e.g. OpenCent) | |
| BigInt | id |
| the available denominations of this currency | |
| std::vector< WeightedUrl > | info_service |
| an identity for this currency | |
| std::string | issuer_cipher_suite |
| PublicKey | issuer_public_master_key |
| std::vector< WeightedUrl > | mint_service |
| the public key of this currency | |
| std::string | protocol_version |
| std::vector< WeightedUrl > | redeem_service |
| std::vector< WeightedUrl > | renew_service |
currency description document
this structure describes a currency based on opencoin protocol. It can be converted to json to provide the specified currency description document.
| std::string CDD::cdd_location |
expiry date of this document (e.g. 2023-07-22T15:45:53.164685)
| size_t CDD::cdd_serial |
URL of location of this document (e.g https://opencent.org)
| size_t CDD::currency_divisor |
date of signing this document (e.g. 2022-07-22T15:45:53.164685)
| PublicKey CDD::issuer_public_master_key |
the cipher suite used for this currencey (currently only RSA-SHA256-PSS-CHAUM82 is supported)