aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/keymanagement.h
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-09-02 15:29:09 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-09-02 15:29:09 +0200
commit4f13051f763cab3d431847305eff913e4bf9d77a (patch)
treebb20393d714ede1a0200653e2bddbbb694b56f16 /libcmix-crypto/keymanagement.h
parentdffdb1388991c5b5688139bfa093c8581a0f3a36 (diff)
downloadcmix-4f13051f763cab3d431847305eff913e4bf9d77a.tar.gz
cmix-4f13051f763cab3d431847305eff913e4bf9d77a.tar.bz2
cmix-4f13051f763cab3d431847305eff913e4bf9d77a.zip
Changed to api to be less repetative in use.
Diffstat (limited to 'libcmix-crypto/keymanagement.h')
-rw-r--r--libcmix-crypto/keymanagement.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/libcmix-crypto/keymanagement.h b/libcmix-crypto/keymanagement.h
deleted file mode 100644
index 18b578a..0000000
--- a/libcmix-crypto/keymanagement.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#pragma once
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "keypair.h"
-
-#include <stddef.h>
-
-typedef struct KeyPair(*CmixKeyPairCreator)();
-typedef struct KeyPair(*CmixKeyPairLoader)(char*, char*);
-
-struct CmixKeyManagementImpl {
- CmixKeyPairCreator create_new_keypair;
- CmixKeyPairLoader load_keypair;
-};
-
-#ifdef __cplusplus
-} // extern "C"
-#endif