4 * This is free software; see Copyright file in the source
5 * distribution for preciese wording.
7 * Copyright (C) 2002-2003 Aleksey Sanin <aleksey@aleksey.com>
9 #ifndef __XMLSEC_SKELETON_SYMBOLS_H__
10 #define __XMLSEC_SKELETON_SYMBOLS_H__
12 #if !defined(IN_XMLSEC) && defined(XMLSEC_CRYPTO_DYNAMIC_LOADING)
13 #error To disable dynamic loading of xmlsec-crypto libraries undefine XMLSEC_CRYPTO_DYNAMIC_LOADING
14 #endif /* !defined(IN_XMLSEC) && defined(XMLSEC_CRYPTO_DYNAMIC_LOADING) */
18 #endif /* __cplusplus */
21 * Defines for writing simple code
23 #ifdef XMLSEC_CRYPTO_SKELETON
26 * Crypto Init/shutdown
28 #define xmlSecCryptoInit xmlSecSkeletonInit
29 #define xmlSecCryptoShutdown xmlSecSkeletonShutdown
31 #define xmlSecCryptoKeysMngrInit xmlSecSkeletonKeysMngrInit
36 #define xmlSecKeyDataAesId xmlSecSkeletonKeyDataAesId
37 #define xmlSecKeyDataDesId xmlSecSkeletonKeyDataDesId
38 #define xmlSecKeyDataDsaId xmlSecSkeletonKeyDataDsaId
39 #define xmlSecKeyDataHmacId xmlSecSkeletonKeyDataHmacId
40 #define xmlSecKeyDataRsaId xmlSecSkeletonKeyDataRsaId
41 #define xmlSecKeyDataX509Id xmlSecSkeletonKeyDataX509Id
42 #define xmlSecKeyDataRawX509CertId xmlSecSkeletonKeyDataRawX509CertId
47 #define xmlSecX509StoreId xmlSecSkeletonX509StoreId
50 * Crypto transforms ids
52 #define xmlSecTransformAes128CbcId xmlSecSkeletonTransformAes128CbcId
53 #define xmlSecTransformAes192CbcId xmlSecSkeletonTransformAes192CbcId
54 #define xmlSecTransformAes256CbcId xmlSecSkeletonTransformAes256CbcId
55 #define xmlSecTransformKWAes128Id xmlSecSkeletonTransformKWAes128Id
56 #define xmlSecTransformKWAes192Id xmlSecSkeletonTransformKWAes192Id
57 #define xmlSecTransformKWAes256Id xmlSecSkeletonTransformKWAes256Id
58 #define xmlSecTransformDes3CbcId xmlSecSkeletonTransformDes3CbcId
59 #define xmlSecTransformKWDes3Id xmlSecSkeletonTransformKWDes3Id
60 #define xmlSecTransformDsaSha1Id xmlSecSkeletonTransformDsaSha1Id
61 #define xmlSecTransformHmacMd5Id xmlSecSkeletonTransformHmacMd5Id
62 #define xmlSecTransformHmacRipemd160Id xmlSecSkeletonTransformHmacRipemd160Id
63 #define xmlSecTransformHmacSha1Id xmlSecSkeletonTransformHmacSha1Id
64 #define xmlSecTransformHmacSha224Id xmlSecSkeletonTransformHmacSha224Id
65 #define xmlSecTransformHmacSha256Id xmlSecSkeletonTransformHmacSha256Id
66 #define xmlSecTransformHmacSha384Id xmlSecSkeletonTransformHmacSha384Id
67 #define xmlSecTransformHmacSha512Id xmlSecSkeletonTransformHmacSha512Id
68 #define xmlSecTransformMd5Id xmlSecSkeletonTransformMd5Id
69 #define xmlSecTransformRipemd160Id xmlSecSkeletonTransformRipemd160Id
70 #define xmlSecTransformRsaSha1Id xmlSecSkeletonTransformRsaSha1Id
71 #define xmlSecTransformRsaSha224Id xmlSecSkeletonTransformRsaSha224Id
72 #define xmlSecTransformRsaSha256Id xmlSecSkeletonTransformRsaSha256Id
73 #define xmlSecTransformRsaSha384Id xmlSecSkeletonTransformRsaSha384Id
74 #define xmlSecTransformRsaSha512Id xmlSecSkeletonTransformRsaSha512Id
75 #define xmlSecTransformRsaPkcs1Id xmlSecSkeletonTransformRsaPkcs1Id
76 #define xmlSecTransformRsaOaepId xmlSecSkeletonTransformRsaOaepId
77 #define xmlSecTransformSha1Id xmlSecSkeletonTransformSha1Id
78 #define xmlSecTransformSha224Id xmlSecSkeletonTransformSha224Id
79 #define xmlSecTransformSha256Id xmlSecSkeletonTransformSha256Id
80 #define xmlSecTransformSha384Id xmlSecSkeletonTransformSha384Id
81 #define xmlSecTransformSha512Id xmlSecSkeletonTransformSha512Id
84 * High level routines form xmlsec command line utility
86 #define xmlSecCryptoAppInit xmlSecSkeletonAppInit
87 #define xmlSecCryptoAppShutdown xmlSecSkeletonAppShutdown
88 #define xmlSecCryptoAppDefaultKeysMngrInit xmlSecSkeletonAppDefaultKeysMngrInit
89 #define xmlSecCryptoAppDefaultKeysMngrAdoptKey xmlSecSkeletonAppDefaultKeysMngrAdoptKey
90 #define xmlSecCryptoAppDefaultKeysMngrLoad xmlSecSkeletonAppDefaultKeysMngrLoad
91 #define xmlSecCryptoAppDefaultKeysMngrSave xmlSecSkeletonAppDefaultKeysMngrSave
92 #define xmlSecCryptoAppKeysMngrCertLoad xmlSecSkeletonAppKeysMngrCertLoad
93 #define xmlSecCryptoAppKeysMngrCertLoadMemory xmlSecSkeletonAppKeysMngrCertLoadMemory
94 #define xmlSecCryptoAppKeyLoad xmlSecSkeletonAppKeyLoad
95 #define xmlSecCryptoAppPkcs12Load xmlSecSkeletonAppPkcs12Load
96 #define xmlSecCryptoAppKeyCertLoad xmlSecSkeletonAppKeyCertLoad
97 #define xmlSecCryptoAppKeyLoadMemory xmlSecSkeletonAppKeyLoadMemory
98 #define xmlSecCryptoAppPkcs12LoadMemory xmlSecSkeletonAppPkcs12LoadMemory
99 #define xmlSecCryptoAppKeyCertLoadMemory xmlSecSkeletonAppKeyCertLoadMemory
100 #define xmlSecCryptoAppGetDefaultPwdCallback xmlSecSkeletonAppGetDefaultPwdCallback
102 #endif /* XMLSEC_CRYPTO_SKELETON */
106 #endif /* __cplusplus */
108 #endif /* __XMLSEC_SKELETON_CRYPTO_H__ */
110 #define __XMLSEC_SKELETON_CRYPTO_H__