]> git.saurik.com Git - apple/security.git/blob - AppleCSP/ComCryption/ascFactory.h
Security-179.tar.gz
[apple/security.git] / AppleCSP / ComCryption / 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/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 CssmAllocator *normAlloc,
22 CssmAllocator *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 */