2 // AC plugin transition layer.
3 // This file was automatically generated. Do not edit on penalty of futility!
5 #ifndef _H_ACABSTRACTSESSION
6 #define _H_ACABSTRACTSESSION
8 #include <security_cdsa_plugin/pluginsession.h>
9 #include <security_cdsa_utilities/cssmdata.h>
16 // A pure abstract class to define the AC module interface
18 class ACAbstractPluginSession
{
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
,
33 const void *InputParams
,
34 void **OutputParams
) = 0;
37 } // end namespace Security
39 #endif //_H_ACABSTRACTSESSION