]> git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_cdsa_plugin/lib/ACabstractsession.h
Security-58286.200.222.tar.gz
[apple/security.git] / OSX / libsecurity_cdsa_plugin / lib / ACabstractsession.h
1 //
2 // AC plugin transition layer.
3 // This file was automatically generated. Do not edit on penalty of futility!
4 //
5 #ifndef _H_ACABSTRACTSESSION
6 #define _H_ACABSTRACTSESSION
7
8 #include <security_cdsa_plugin/pluginsession.h>
9 #include <security_cdsa_utilities/cssmdata.h>
10
11
12 namespace Security {
13
14
15 //
16 // A pure abstract class to define the AC module interface
17 //
18 class ACAbstractPluginSession {
19 public:
20 virtual ~ACAbstractPluginSession();
21 virtual void AuthCompute(const CSSM_TUPLEGROUP &BaseAuthorizations,
22 const CSSM_TUPLEGROUP *Credentials,
23 uint32 NumberOfRequestors,
24 const CSSM_LIST &Requestors,
25 const CSSM_LIST *RequestedAuthorizationPeriod,
26 const CSSM_LIST &RequestedAuthorization,
27 CSSM_TUPLEGROUP &AuthorizationResult) = 0;
28 virtual void PassThrough(CSSM_TP_HANDLE TPHandle,
29 CSSM_CL_HANDLE CLHandle,
30 CSSM_CC_HANDLE CCHandle,
31 const CSSM_DL_DB_LIST &DBList,
32 uint32 PassThroughId,
33 const void *InputParams,
34 void **OutputParams) = 0;
35 };
36
37 } // end namespace Security
38
39 #endif //_H_ACABSTRACTSESSION