From 00efe731a5c91f158f0c8c9b2c8f496ddfe91666 Mon Sep 17 00:00:00 2001 From: gittiver Date: Sat, 31 Dec 2022 13:37:34 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20OpenCoin?= =?UTF-8?q?/opencoin-issuer-cpp@fa746dd9258bf11167561b4f391f64d5e35b1df7?= =?UTF-8?q?=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- annotated.html | 12 +- big__int_8hpp_source.html | 6 +- classDefaultModel-members.html | 18 +- classDefaultModel.html | 214 +++++++- classModel-members.html | 18 +- classModel.html | 245 ++++++++- classes.html | 8 +- dir_68267d1309a1af8e8297ef4c3efbcdba.html | 6 +- files.html | 6 +- functions.html | 61 ++- functions_func.html | 31 +- functions_vars.html | 36 +- graph_legend.html | 6 +- hierarchy.html | 12 +- index.html | 61 ++- inherit_graph_13.map | 2 +- inherit_graph_13.md5 | 2 +- inherit_graph_13.png | Bin 1736 -> 1841 bytes inherit_graph_19.map | 12 +- inherit_graph_19.md5 | 2 +- inherit_graph_19.png | Bin 18956 -> 19108 bytes inherit_graph_3.map | 2 +- inherit_graph_3.md5 | 2 +- inherits.html | 26 +- model_8hpp_source.html | 502 +++++++++--------- search/all_1.js | 11 +- search/all_2.js | 3 +- search/all_3.js | 2 +- search/all_4.js | 9 +- search/all_5.js | 5 +- search/all_6.js | 21 +- search/all_7.js | 2 +- search/all_8.js | 3 +- search/all_9.html | 37 ++ search/all_9.js | 18 + search/all_a.html | 37 ++ search/all_a.js | 4 + search/all_b.html | 37 ++ search/all_b.js | 4 + search/classes_0.js | 6 +- search/classes_1.js | 8 +- search/classes_2.js | 2 +- search/classes_3.js | 6 +- search/classes_4.js | 4 +- search/classes_5.js | 28 +- search/classes_6.js | 2 +- search/functions_0.js | 2 +- search/functions_1.html | 37 ++ search/functions_1.js | 7 + search/functions_2.html | 37 ++ search/functions_2.js | 4 + search/functions_3.html | 37 ++ search/functions_3.js | 4 + search/pages_0.html | 37 ++ search/pages_0.js | 4 + search/searchdata.js | 13 +- search/variables_0.js | 7 +- search/variables_1.js | 2 +- search/variables_2.html | 37 ++ search/variables_2.js | 6 + search/variables_3.html | 37 ++ search/variables_3.js | 6 + search/variables_4.html | 37 ++ search/variables_4.js | 4 + structBigInt-members.html | 6 +- structBigInt.html | 6 +- structBlind-members.html | 6 +- structBlind.html | 6 +- structBlindSignature-members.html | 6 +- structBlindSignature.html | 6 +- structCDD-members.html | 26 +- structCDD.html | 105 +++- structCDDC-members.html | 6 +- structCDDC.html | 8 +- structCDDC__coll__graph.map | 2 +- structCDDC__coll__graph.md5 | 2 +- structCDD__coll__graph.map | 2 +- structCDD__coll__graph.md5 | 2 +- structCoin-members.html | 6 +- structCoin.html | 6 +- structCoinStack-members.html | 6 +- structCoinStack.html | 6 +- structCoin_1_1Payload-members.html | 6 +- structCoin_1_1Payload.html | 6 +- structMintKey-members.html | 6 +- structMintKey.html | 6 +- structMintKeyCert-members.html | 6 +- structMintKeyCert.html | 6 +- structPublicKey-members.html | 6 +- structPublicKey.html | 6 +- structRequestCDDC-members.html | 6 +- structRequestCDDC.html | 8 +- ...ml => structRequestCDDCSerial-members.html | 14 +- ...erial.html => structRequestCDDCSerial.html | 24 +- structRequestMKCs-members.html | 6 +- structRequestMKCs.html | 6 +- structRequestMint-members.html | 6 +- structRequestMint.html | 6 +- structRequestRedeem-members.html | 6 +- structRequestRedeem.html | 6 +- structRequestRenew-members.html | 6 +- structRequestRenew.html | 6 +- structRequestResume-members.html | 6 +- structRequestResume.html | 6 +- structResponse-members.html | 6 +- structResponse.html | 20 +- structResponseCDDC-members.html | 6 +- structResponseCDDC.html | 8 +- ...l => structResponseCDDCSerial-members.html | 14 +- ...rial.html => structResponseCDDCSerial.html | 38 +- structResponseCDDCSerial__coll__graph.map | 4 + structResponseCDDCSerial__coll__graph.md5 | 1 + structResponseCDDCSerial__coll__graph.png | Bin 0 -> 3863 bytes structResponseCDDCSerial__inherit__graph.map | 4 + structResponseCDDCSerial__inherit__graph.md5 | 1 + structResponseCDDCSerial__inherit__graph.png | Bin 0 -> 3863 bytes structResponseCDDC__coll__graph.map | 2 +- structResponseCDDC__coll__graph.md5 | 2 +- structResponseCDDSerial__coll__graph.map | 4 - structResponseCDDSerial__coll__graph.md5 | 1 - structResponseCDDSerial__coll__graph.png | Bin 3466 -> 0 bytes structResponseCDDSerial__inherit__graph.map | 4 - structResponseCDDSerial__inherit__graph.md5 | 1 - structResponseCDDSerial__inherit__graph.png | Bin 3466 -> 0 bytes structResponseDelay-members.html | 6 +- structResponseDelay.html | 6 +- structResponseMKCs-members.html | 6 +- structResponseMKCs.html | 6 +- structResponseMint-members.html | 6 +- structResponseMint.html | 6 +- structResponseRedeem-members.html | 6 +- structResponseRedeem.html | 6 +- structResponse__inherit__graph.map | 14 +- structResponse__inherit__graph.md5 | 2 +- structResponse__inherit__graph.png | Bin 10811 -> 20588 bytes structWeightedUrl-members.html | 6 +- structWeightedUrl.html | 6 +- 137 files changed, 1747 insertions(+), 675 deletions(-) create mode 100644 search/all_9.html create mode 100644 search/all_9.js create mode 100644 search/all_a.html create mode 100644 search/all_a.js create mode 100644 search/all_b.html create mode 100644 search/all_b.js create mode 100644 search/functions_1.html create mode 100644 search/functions_1.js create mode 100644 search/functions_2.html create mode 100644 search/functions_2.js create mode 100644 search/functions_3.html create mode 100644 search/functions_3.js create mode 100644 search/pages_0.html create mode 100644 search/pages_0.js create mode 100644 search/variables_2.html create mode 100644 search/variables_2.js create mode 100644 search/variables_3.html create mode 100644 search/variables_3.js create mode 100644 search/variables_4.html create mode 100644 search/variables_4.js rename structRequestCDDSerial-members.html => structRequestCDDCSerial-members.html (79%) rename structRequestCDDSerial.html => structRequestCDDCSerial.html (78%) rename structResponseCDDSerial-members.html => structResponseCDDCSerial-members.html (84%) rename structResponseCDDSerial.html => structResponseCDDCSerial.html (79%) create mode 100644 structResponseCDDCSerial__coll__graph.map create mode 100644 structResponseCDDCSerial__coll__graph.md5 create mode 100644 structResponseCDDCSerial__coll__graph.png create mode 100644 structResponseCDDCSerial__inherit__graph.map create mode 100644 structResponseCDDCSerial__inherit__graph.md5 create mode 100644 structResponseCDDCSerial__inherit__graph.png delete mode 100644 structResponseCDDSerial__coll__graph.map delete mode 100644 structResponseCDDSerial__coll__graph.md5 delete mode 100644 structResponseCDDSerial__coll__graph.png delete mode 100644 structResponseCDDSerial__inherit__graph.map delete mode 100644 structResponseCDDSerial__inherit__graph.md5 delete mode 100644 structResponseCDDSerial__inherit__graph.png diff --git a/annotated.html b/annotated.html index aa3491c..891fc8a 100644 --- a/annotated.html +++ b/annotated.html @@ -5,7 +5,7 @@ -oc-mint: Class List +oc-issuer: Class List @@ -21,8 +21,8 @@ -
oc-mint -  0.0.1 +
oc-issuer +  0.0.2
@@ -71,7 +71,7 @@ $(function() {  CBigInt  CBlind  CBlindSignature - CCDD + CCDDCurrency description document  CCDDC  CCoin  CPayload @@ -82,7 +82,7 @@ $(function() {  CModel  CPublicKey  CRequestCDDC - CRequestCDDSerial + CRequestCDDCSerial  CRequestMint  CRequestMKCs  CRequestRedeem @@ -90,7 +90,7 @@ $(function() {  CRequestResume  CResponse  CResponseCDDC - CResponseCDDSerial + CResponseCDDCSerial  CResponseDelay  CResponseMint  CResponseMKCs diff --git a/big__int_8hpp_source.html b/big__int_8hpp_source.html index f6aebe4..05af9c1 100644 --- a/big__int_8hpp_source.html +++ b/big__int_8hpp_source.html @@ -5,7 +5,7 @@ -oc-mint: src/big_int.hpp Source File +oc-issuer: src/big_int.hpp Source File @@ -21,8 +21,8 @@ -
oc-mint -  0.0.1 +
oc-issuer +  0.0.2
diff --git a/classDefaultModel-members.html b/classDefaultModel-members.html index 6215ddb..ee8d3c7 100644 --- a/classDefaultModel-members.html +++ b/classDefaultModel-members.html @@ -5,7 +5,7 @@ -oc-mint: Member List +oc-issuer: Member List @@ -21,8 +21,8 @@ -
oc-mint -  0.0.1 +
oc-issuer +  0.0.2
@@ -70,12 +70,12 @@ $(function() {

This is the complete list of members for DefaultModel, including all inherited members.

- - - - - - + + + + + +
DefaultModel() (defined in DefaultModel)DefaultModelinline
getCDDC(unsigned int cdd_serial) override (defined in DefaultModel)DefaultModelinlinevirtual
getCurrentCDDC() override (defined in DefaultModel)DefaultModelinlinevirtual
getMKCs(const std::vector< unsigned int > &denominations, const std::vector< BigInt > &mint_key_ids) override (defined in DefaultModel)DefaultModelinlinevirtual
getModel(const std::string &backend_name) (defined in Model)Modelstatic
mint(const std::string &transaction_reference, const std::vector< Blind > &blinds) override (defined in DefaultModel)DefaultModelinlinevirtual
redeem(const std::vector< Coin > &coins) override (defined in DefaultModel)DefaultModelinlinevirtual
getCDDC(unsigned int cdd_serial) overrideDefaultModelinlinevirtual
getCurrentCDDC() overrideDefaultModelinlinevirtual
getMKCs(const std::vector< unsigned int > &denominations, const std::vector< BigInt > &mint_key_ids) overrideDefaultModelinlinevirtual
getModel(const std::string &backend_name)Modelstatic
mint(const std::string &transaction_reference, const std::vector< Blind > &blinds) overrideDefaultModelinlinevirtual
redeem(const std::vector< Coin > &coins) overrideDefaultModelinlinevirtual
~Model() (defined in Model)Modelinlinevirtual
diff --git a/classDefaultModel.html b/classDefaultModel.html index f78d710..03a87b5 100644 --- a/classDefaultModel.html +++ b/classDefaultModel.html @@ -5,7 +5,7 @@ -oc-mint: DefaultModel Class Reference +oc-issuer: DefaultModel Class Reference @@ -21,8 +21,8 @@ -
oc-mint -  0.0.1 +
oc-issuer +  0.0.2
@@ -90,32 +90,214 @@ Collaboration diagram for DefaultModel:
- + - + - + - + - +

Public Member Functions

-tl::expected< CDDC *, bool > getCDDC (unsigned int cdd_serial) override
tl::expected< CDDC *, bool > getCDDC (unsigned int cdd_serial) override
 
-tl::expected< CDDC *, bool > getCurrentCDDC () override
tl::expected< CDDC *, bool > getCurrentCDDC () override
 
-std::vector< BlindSignaturemint (const std::string &transaction_reference, const std::vector< Blind > &blinds) override
std::vector< BlindSignaturemint (const std::string &transaction_reference, const std::vector< Blind > &blinds) override
 
-const std::vector< MintKeyCertgetMKCs (const std::vector< unsigned int > &denominations, const std::vector< BigInt > &mint_key_ids) override
const std::vector< MintKeyCertgetMKCs (const std::vector< unsigned int > &denominations, const std::vector< BigInt > &mint_key_ids) override
 
-bool redeem (const std::vector< Coin > &coins) override
bool redeem (const std::vector< Coin > &coins) override
 
- +

Additional Inherited Members

- Static Public Member Functions inherited from Model
-static std::unique_ptr< ModelgetModel (const std::string &backend_name)
static std::unique_ptr< ModelgetModel (const std::string &backend_name)
 

Detailed Description

this is for now our sample model

-

The documentation for this class was generated from the following file:
    +

Member Function Documentation

+ +

◆ getCDDC()

+ +
+
+ + + + + +
+ + + + + + + + +
tl::expected<CDDC *, bool> DefaultModel::getCDDC (unsigned int cdd_serial)
+
+inlineoverridevirtual
+
+

return the CurrencyDocumentDescription certifikate for a specific serial version number of it. see spec

Returns
returns a pointer to the CDDC if successful, false otherwise
+ +

Implements Model.

+ +
+
+ +

◆ getCurrentCDDC()

+ +
+
+ + + + + +
+ + + + + + + +
tl::expected<CDDC *, bool> DefaultModel::getCurrentCDDC ()
+
+inlineoverridevirtual
+
+

return the CurrencyDocumentDescription certifikate see spec

Returns
returns a pointer to the CDDC if successful, false otherwise
+ +

Implements Model.

+ +
+
+ +

◆ getMKCs()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
const std::vector<MintKeyCert> DefaultModel::getMKCs (const std::vector< unsigned int > & denominations,
const std::vector< BigInt > & mint_key_ids 
)
+
+inlineoverridevirtual
+
+

return the MintKey certificates for a given list of denominations and mint key ids

+
Parameters
+ + + +
denominations
mint_key_ids
+
+
+
Returns
mint key certificates for given denominations and mint_key_ids
+ +

Implements Model.

+ +
+
+ +

◆ mint()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
std::vector<BlindSignature> DefaultModel::mint (const std::string & transaction_reference,
const std::vector< Blind > & blinds 
)
+
+inlineoverridevirtual
+
+

returns the vector of blind signatures for a given vector of blinds

+
Parameters
+ + + +
transaction_referencereference to a transaction (send from client)
blindsthe vector of blinds to sign
+
+
+
Returns
+ +

Implements Model.

+ +
+
+ +

◆ redeem()

+ +
+
+ + + + + +
+ + + + + + + + +
bool DefaultModel::redeem (const std::vector< Coin > & coins)
+
+inlineoverridevirtual
+
+

redeem valid coins into real money

+
Parameters
+ + +
coinsthe coins to redeem
+
+
+
Returns
true if successful, false on error
+ +

Implements Model.

+ +
+
+
The documentation for this class was generated from the following file:
diff --git a/classModel-members.html b/classModel-members.html index 1f72b28..c0e58c2 100644 --- a/classModel-members.html +++ b/classModel-members.html @@ -5,7 +5,7 @@ -oc-mint: Member List +oc-issuer: Member List @@ -21,8 +21,8 @@ -
oc-mint -  0.0.1 +
oc-issuer +  0.0.2
@@ -69,12 +69,12 @@ $(function() {

This is the complete list of members for Model, including all inherited members.

- - - - - - + + + + + +
getCDDC(unsigned int cdd_serial)=0 (defined in Model)Modelpure virtual
getCurrentCDDC()=0 (defined in Model)Modelpure virtual
getMKCs(const std::vector< unsigned int > &denominations, const std::vector< BigInt > &mint_key_ids)=0 (defined in Model)Modelpure virtual
getModel(const std::string &backend_name) (defined in Model)Modelstatic
mint(std::string const &transaction_reference, const std::vector< Blind > &blinds)=0 (defined in Model)Modelpure virtual
redeem(const std::vector< Coin > &coins)=0 (defined in Model)Modelpure virtual
getCDDC(unsigned int cdd_serial)=0Modelpure virtual
getCurrentCDDC()=0Modelpure virtual
getMKCs(const std::vector< unsigned int > &denominations, const std::vector< BigInt > &mint_key_ids)=0Modelpure virtual
getModel(const std::string &backend_name)Modelstatic
mint(std::string const &transaction_reference, const std::vector< Blind > &blinds)=0Modelpure virtual
redeem(const std::vector< Coin > &coins)=0Modelpure virtual
~Model() (defined in Model)Modelinlinevirtual
diff --git a/classModel.html b/classModel.html index 9696c78..c15796a 100644 --- a/classModel.html +++ b/classModel.html @@ -5,7 +5,7 @@ -oc-mint: Model Class Reference +oc-issuer: Model Class Reference @@ -21,8 +21,8 @@ -
oc-mint -  0.0.1 +
oc-issuer +  0.0.2
@@ -82,28 +82,243 @@ Inheritance diagram for Model:
- + - + - + - + - +

Public Member Functions

-virtual tl::expected< CDDC *, bool > getCDDC (unsigned int cdd_serial)=0
virtual tl::expected< CDDC *, bool > getCDDC (unsigned int cdd_serial)=0
 
-virtual tl::expected< CDDC *, bool > getCurrentCDDC ()=0
virtual tl::expected< CDDC *, bool > getCurrentCDDC ()=0
 
-virtual const std::vector< MintKeyCertgetMKCs (const std::vector< unsigned int > &denominations, const std::vector< BigInt > &mint_key_ids)=0
virtual const std::vector< MintKeyCertgetMKCs (const std::vector< unsigned int > &denominations, const std::vector< BigInt > &mint_key_ids)=0
 
-virtual std::vector< BlindSignaturemint (std::string const &transaction_reference, const std::vector< Blind > &blinds)=0
virtual std::vector< BlindSignaturemint (std::string const &transaction_reference, const std::vector< Blind > &blinds)=0
 
-virtual bool redeem (const std::vector< Coin > &coins)=0
virtual bool redeem (const std::vector< Coin > &coins)=0
 
- +

Static Public Member Functions

-static std::unique_ptr< ModelgetModel (const std::string &backend_name)
static std::unique_ptr< ModelgetModel (const std::string &backend_name)
 
+

Member Function Documentation

+ +

◆ getCDDC()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual tl::expected<CDDC *, bool> Model::getCDDC (unsigned int cdd_serial)
+
+pure virtual
+
+

return the CurrencyDocumentDescription certifikate for a specific serial version number of it. see spec

Returns
returns a pointer to the CDDC if successful, false otherwise
+ +

Implemented in DefaultModel.

+ +
+
+ +

◆ getCurrentCDDC()

+ +
+
+ + + + + +
+ + + + + + + +
virtual tl::expected<CDDC *, bool> Model::getCurrentCDDC ()
+
+pure virtual
+
+

return the CurrencyDocumentDescription certifikate see spec

Returns
returns a pointer to the CDDC if successful, false otherwise
+ +

Implemented in DefaultModel.

+ +
+
+ +

◆ getMKCs()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual const std::vector<MintKeyCert> Model::getMKCs (const std::vector< unsigned int > & denominations,
const std::vector< BigInt > & mint_key_ids 
)
+
+pure virtual
+
+

return the MintKey certificates for a given list of denominations and mint key ids

+
Parameters
+ + + +
denominations
mint_key_ids
+
+
+
Returns
mint key certificates for given denominations and mint_key_ids
+ +

Implemented in DefaultModel.

+ +
+
+ +

◆ getModel()

+ +
+
+ + + + + +
+ + + + + + + + +
std::unique_ptr< Model > Model::getModel (const std::string & backend_name)
+
+static
+
+

factory function returning a concrete backend for Opencoin API handling. based on backend_name a concrete backend will be returned or in case of error null.

Parameters
+ + +
backend_name
+
+
+
Returns
pointer to backend instance or null on invalid backend name
+ +
+
+ +

◆ mint()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual std::vector<BlindSignature> Model::mint (std::string const & transaction_reference,
const std::vector< Blind > & blinds 
)
+
+pure virtual
+
+

returns the vector of blind signatures for a given vector of blinds

+
Parameters
+ + + +
transaction_referencereference to a transaction (send from client)
blindsthe vector of blinds to sign
+
+
+
Returns
+ +

Implemented in DefaultModel.

+ +
+
+ +

◆ redeem()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Model::redeem (const std::vector< Coin > & coins)
+
+pure virtual
+
+

redeem valid coins into real money

+
Parameters
+ + +
coinsthe coins to redeem
+
+
+
Returns
true if successful, false on error
+ +

Implemented in DefaultModel.

+ +
+

The documentation for this class was generated from the following files: