bump product version to 4.1.6.2
[LibreOffice.git] / libxmlsec / include / akmngr_mscrypto.h
blob57ba811b39343cbc9c1d758ef1968bad526e2506
1 /**
2 * XMLSec library
4 * This is free software; see Copyright file in the source
5 * distribution for preciese wording.
7 * Copyright ..........................
8 */
9 #ifndef __XMLSEC_MSCRYPTO_AKMNGR_H__
10 #define __XMLSEC_MSCRYPTO_AKMNGR_H__
12 #include <windows.h>
13 #include <wincrypt.h>
15 #include <xmlsec/xmlsec.h>
16 #include <xmlsec/keys.h>
17 #include <xmlsec/transforms.h>
19 #ifdef __cplusplus
20 extern "C" {
21 #endif /* __cplusplus */
23 XMLSEC_CRYPTO_EXPORT xmlSecKeysMngrPtr
24 xmlSecMSCryptoAppliedKeysMngrCreate(
25 HCERTSTORE keyStore ,
26 HCERTSTORE certStore
27 ) ;
29 XMLSEC_CRYPTO_EXPORT int
30 xmlSecMSCryptoAppliedKeysMngrSymKeyLoad(
31 xmlSecKeysMngrPtr mngr ,
32 HCRYPTKEY symKey
33 ) ;
35 XMLSEC_CRYPTO_EXPORT int
36 xmlSecMSCryptoAppliedKeysMngrPubKeyLoad(
37 xmlSecKeysMngrPtr mngr ,
38 HCRYPTKEY pubKey
39 ) ;
41 XMLSEC_CRYPTO_EXPORT int
42 xmlSecMSCryptoAppliedKeysMngrPriKeyLoad(
43 xmlSecKeysMngrPtr mngr ,
44 HCRYPTKEY priKey
45 ) ;
47 XMLSEC_CRYPTO_EXPORT int
48 xmlSecMSCryptoAppliedKeysMngrAdoptKeyStore (
49 xmlSecKeysMngrPtr mngr ,
50 HCERTSTORE keyStore
51 ) ;
53 XMLSEC_CRYPTO_EXPORT int
54 xmlSecMSCryptoAppliedKeysMngrAdoptTrustedStore (
55 xmlSecKeysMngrPtr mngr ,
56 HCERTSTORE trustedStore
57 ) ;
59 XMLSEC_CRYPTO_EXPORT int
60 xmlSecMSCryptoAppliedKeysMngrAdoptUntrustedStore (
61 xmlSecKeysMngrPtr mngr ,
62 HCERTSTORE untrustedStore
63 ) ;
65 #ifdef __cplusplus
67 #endif /* __cplusplus */
69 #endif /* __XMLSEC_MSCRYPTO_AKMNGR_H__ */