SDchain C Plus Plus Team / Mbed 2 deprecated bcsdk

Dependencies:   EthernetInterface mbed-rtos mbed uniqueCPUID

Fork of bcsdk by Heng Well

Revision:
8:f2a567ee3a46
Child:
10:aabd720e632c
diff -r 04744a9ce2b9 -r f2a567ee3a46 MockHsm.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MockHsm.h	Thu Sep 21 02:09:04 2017 +0000
@@ -0,0 +1,36 @@
+/***********************************************************************
+ * Module:  MockHsm.h
+ * Author:  Administrator
+ * Modified: 2017Äê8ÔÂ31ÈÕ 16:29:48
+ * Purpose: Declaration of the class MockHsm
+ * Comment: ÓÉÁ´ºËÌṩµÄÄ£ÄâHSMÀ´´¦Àí¿ª·¢ÖеĹؼü²ÄÁÏ¡£
+ ***********************************************************************/
+
+#if !defined(__Account_MockHsm_h)
+#define __Account_MockHsm_h
+
+#include "Client.h"
+#include "MbedJSONValue.h"
+
+using namespace std;
+
+class MockHsm
+{
+public:
+	MockHsm();
+	~MockHsm();
+	static Client getSignerClient(void);
+	string getAlias();
+	void setAlias(string newAlias);
+
+	string createKey();
+	string listKeys();
+
+protected:
+private:
+	string alias;
+	string client_token;
+	Client client;
+};
+
+#endif