Git init
[external/xmlsec1.git] / include / xmlsec / openssl / evp.h
1 /** 
2  * XMLSec library
3  *
4  * This is free software; see Copyright file in the source
5  * distribution for preciese wording.
6  * 
7  * Copyright (C) 2002-2003 Aleksey Sanin <aleksey@aleksey.com>
8  */
9 #ifndef __XMLSEC_OPENSSL_EVP_H__
10 #define __XMLSEC_OPENSSL_EVP_H__    
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif /* __cplusplus */ 
15
16 #include <openssl/evp.h>
17
18 #include <xmlsec/xmlsec.h>
19 #include <xmlsec/keys.h>
20 #include <xmlsec/transforms.h>
21
22 #include <xmlsec/openssl/crypto.h>
23
24
25 XMLSEC_CRYPTO_EXPORT int                xmlSecOpenSSLEvpKeyDataAdoptEvp (xmlSecKeyDataPtr data, 
26                                                                          EVP_PKEY* pKey);
27 XMLSEC_CRYPTO_EXPORT EVP_PKEY*          xmlSecOpenSSLEvpKeyDataGetEvp   (xmlSecKeyDataPtr data);
28
29 /******************************************************************************
30  *
31  * EVP helper functions
32  *
33  *****************************************************************************/
34 XMLSEC_CRYPTO_EXPORT EVP_PKEY*          xmlSecOpenSSLEvpKeyDup          (EVP_PKEY* pKey);
35 XMLSEC_CRYPTO_EXPORT xmlSecKeyDataPtr   xmlSecOpenSSLEvpKeyAdopt        (EVP_PKEY *pKey);
36
37
38 #ifdef __cplusplus
39 }
40 #endif /* __cplusplus */
41
42 #endif /* __XMLSEC_OPENSSL_EVP_H__ */
43
44