]> git.saurik.com Git - apple/security.git/blob - libsecurity_apple_csp/lib/ascFactory.h
Security-55163.44.tar.gz
[apple/security.git] / libsecurity_apple_csp / lib / ascFactory.h
1 //
2 // ascAlgFactory.h - algorithm factory for ASC
3 // Written by Doug Mitchell 4/4/2001
4 //
5
6 #ifdef ASC_CSP_ENABLE
7
8 #ifndef _ASC_ALG_FACTORY_H_
9 #define _ASC_ALG_FACTORY_H_
10
11 #include <security_cdsa_plugin/CSPsession.h>
12 #include "AppleCSP.h"
13
14 class AppleCSPSession;
15
16 /* Algorithm factory */
17 class AscAlgFactory : public AppleCSPAlgorithmFactory {
18 public:
19
20 AscAlgFactory(
21 Allocator *normAlloc,
22 Allocator *privAlloc);
23 ~AscAlgFactory() { }
24
25 bool setup(
26 AppleCSPSession &session,
27 CSPFullPluginSession::CSPContext * &cspCtx,
28 const Context &context);
29
30 };
31
32
33 #endif /*_ASC_ALG_FACTORY_H_ */
34 #endif /* ASC_CSP_ENABLE */