Files
loongoffice/external/libxmlsec/include/akmngr_mscrypto.h
Khaled Hosny 27c65f8abd fdo#70393: move libxmlsec to a subdir of external
Change-Id: I1bcdd01aad7fc2ee2d2f635b0ae4c4183c9ab092
Reviewed-on: https://gerrit.libreoffice.org/6571
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-11-04 23:58:10 -06:00

73 lines
1.4 KiB
C

/**
* XMLSec library
*
* This is free software; see Copyright file in the source
* distribution for preciese wording.
*
* Copyright ..........................
*/
#ifndef __XMLSEC_MSCRYPTO_AKMNGR_H__
#define __XMLSEC_MSCRYPTO_AKMNGR_H__
#include <windows.h>
#include <wincrypt.h>
#include <xmlsec/xmlsec.h>
#include <xmlsec/keys.h>
#include <xmlsec/transforms.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
XMLSEC_CRYPTO_EXPORT xmlSecKeysMngrPtr
xmlSecMSCryptoAppliedKeysMngrCreate(
HCERTSTORE keyStore ,
HCERTSTORE certStore
) ;
XMLSEC_CRYPTO_EXPORT int
xmlSecMSCryptoAppliedKeysMngrSymKeyLoad(
xmlSecKeysMngrPtr mngr ,
HCRYPTKEY symKey
) ;
XMLSEC_CRYPTO_EXPORT int
xmlSecMSCryptoAppliedKeysMngrPubKeyLoad(
xmlSecKeysMngrPtr mngr ,
HCRYPTKEY pubKey
) ;
XMLSEC_CRYPTO_EXPORT int
xmlSecMSCryptoAppliedKeysMngrPriKeyLoad(
xmlSecKeysMngrPtr mngr ,
HCRYPTKEY priKey
) ;
XMLSEC_CRYPTO_EXPORT int
xmlSecMSCryptoAppliedKeysMngrAdoptKeyStore (
xmlSecKeysMngrPtr mngr ,
HCERTSTORE keyStore
) ;
XMLSEC_CRYPTO_EXPORT int
xmlSecMSCryptoAppliedKeysMngrAdoptTrustedStore (
xmlSecKeysMngrPtr mngr ,
HCERTSTORE trustedStore
) ;
XMLSEC_CRYPTO_EXPORT int
xmlSecMSCryptoAppliedKeysMngrAdoptUntrustedStore (
xmlSecKeysMngrPtr mngr ,
HCERTSTORE untrustedStore
) ;
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __XMLSEC_MSCRYPTO_AKMNGR_H__ */