Git init
[external/xmlsec1.git] / include / xmlsec / mscrypto / keysstore.h
1 /** 
2  * XMLSec library
3  * 
4  * MSCrypto keys store
5  * 
6  * This is free software; see Copyright file in the source
7  * distribution for precise wording.
8  * 
9  * Copyrigth (C) 2003 Cordys R&D BV, All rights reserved.
10  */
11 #ifndef __XMLSEC_MSCRYPTO_KEYSSTORE_H__
12 #define __XMLSEC_MSCRYPTO_KEYSSTORE_H__    
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */ 
17
18 #include <xmlsec/xmlsec.h>
19
20 /****************************************************************************
21  *
22  * MSCrypto Keys Store
23  *
24  ***************************************************************************/
25 /**
26  * xmlSecMSCryptoKeysStoreId:
27  *
28  * A MSCrypto keys store klass id.
29  */
30 #define xmlSecMSCryptoKeysStoreId       xmlSecMSCryptoKeysStoreGetKlass()
31 XMLSEC_CRYPTO_EXPORT xmlSecKeyStoreId   xmlSecMSCryptoKeysStoreGetKlass (void);
32 XMLSEC_CRYPTO_EXPORT int                xmlSecMSCryptoKeysStoreAdoptKey (xmlSecKeyStorePtr store,
33                                                                          xmlSecKeyPtr key);
34 XMLSEC_CRYPTO_EXPORT int                xmlSecMSCryptoKeysStoreLoad     (xmlSecKeyStorePtr store,
35                                                                          const char *uri,
36                                                                          xmlSecKeysMngrPtr keysMngr);
37 XMLSEC_CRYPTO_EXPORT int                xmlSecMSCryptoKeysStoreSave     (xmlSecKeyStorePtr store, 
38                                                                          const char *filename,
39                                                                          xmlSecKeyDataType type);
40
41 #ifdef __cplusplus
42 }
43 #endif /* __cplusplus */
44
45 #endif /* __XMLSEC_MSCRYPTO_KEYSSTORE_H__ */
46