cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Macros | Functions
msg_acl.c File Reference
#include "crypt.h"
#include "kernel/acl.h"
#include "kernel/kernel.h"

Go to the source code of this file.

Macros

#define PUBKEY_CERT_OBJECT
 
#define PUBKEY_KEYSET_OBJECT
 
#define PRIVKEY_KEYSET_OBJECT
 

Functions

CHECK_RETVAL_BOOL STDC_NONNULL_ARG ((2))
 
CHECK_RETVAL_BOOL STDC_NONNULL_ARG ((1))
 
void endMessageACL (void)
 
CHECK_RETVAL int preDispatchSignalDependentObjects (IN_HANDLE const int objectHandle, STDC_UNUSED const MESSAGE_TYPE dummy1, STDC_UNUSED const void *dummy2, STDC_UNUSED const int dummy3, STDC_UNUSED const void *dummy4)
 
CHECK_RETVAL STDC_NONNULL_ARG ((5))
 
CHECK_RETVAL int preDispatchCheckCompareParam (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, const void *messageDataPtr, IN_ENUM(MESSAGE_COMPARE) const int messageValue, STDC_UNUSED const void *dummy)
 
CHECK_RETVAL int preDispatchCheckCheckParam (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, IN_ENUM(MESSAGE_CHECK) const int messageValue, STDC_UNUSED const void *dummy2)
 
CHECK_RETVAL int preDispatchCheckActionAccess (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, STDC_UNUSED const int dummy2, STDC_UNUSED const void *dummy3)
 
CHECK_RETVAL int preDispatchCheckState (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, STDC_UNUSED const int dummy2, STDC_UNUSED const void *dummy3)
 
CHECK_RETVAL int preDispatchCheckParamHandleOpt (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, const int messageValue, IN TYPECAST(MESSAGE_ACL *) const void *auxInfo)
 
CHECK_RETVAL int preDispatchCheckStateParamHandle (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, const int messageValue, IN TYPECAST(MESSAGE_ACL *) const void *auxInfo)
 
CHECK_RETVAL int preDispatchCheckExportAccess (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, const void *messageDataPtr, IN_ENUM(CRYPT_CERTFORMAT) const int messageValue, STDC_UNUSED const void *dummy2)
 
CHECK_RETVAL STDC_NONNULL_ARG ((3))
 
CHECK_RETVAL int preDispatchCheckUserMgmtAccess (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, IN_ENUM(MESSAGE_USERMGMT) const int messageValue, STDC_UNUSED const void *dummy2)
 
CHECK_RETVAL int preDispatchCheckTrustMgmtAccess (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, const void *messageDataPtr, STDC_UNUSED const int messageValue, STDC_UNUSED const void *dummy)
 
CHECK_RETVAL int postDispatchMakeObjectExternal (STDC_UNUSED const int dummy, IN_MESSAGE const MESSAGE_TYPE message, const void *messageDataPtr, const int messageValue, const void *auxInfo)
 
CHECK_RETVAL int postDispatchForwardToDependentObject (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy1, IN_ENUM(MESSAGE_CHECK) const int messageValue, STDC_UNUSED const void *dummy2)
 
CHECK_RETVAL int postDispatchUpdateUsageCount (IN_HANDLE const int objectHandle, STDC_UNUSED const MESSAGE_TYPE dummy1, STDC_UNUSED const void *dummy2, STDC_UNUSED const int dummy3, STDC_UNUSED const void *dummy4)
 
CHECK_RETVAL int postDispatchChangeState (IN_HANDLE const int objectHandle, STDC_UNUSED const MESSAGE_TYPE dummy1, STDC_UNUSED const void *dummy2, STDC_UNUSED const int dummy3, STDC_UNUSED const void *dummy4)
 
CHECK_RETVAL int postDispatchChangeStateOpt (IN_HANDLE const int objectHandle, STDC_UNUSED const MESSAGE_TYPE dummy1, STDC_UNUSED const void *dummy2, const int messageValue, IN TYPECAST(ATTRIBUTE_ACL *) const void *auxInfo)
 
CHECK_RETVAL int postDispatchHandleZeroise (IN_HANDLE const int objectHandle, IN_MESSAGE const MESSAGE_TYPE message, STDC_UNUSED const void *dummy2, IN_ENUM(MESSAGE_USERMGMT) const int messageValue, STDC_UNUSED const void *dummy3)
 

Macro Definition Documentation

#define PRIVKEY_KEYSET_OBJECT
Value:
ST_KEYSET_FILE_RO | ST_DEV_P11 | \
ST_DEV_CAPI | ST_DEV_HW )

Definition at line 99 of file msg_acl.c.

#define PUBKEY_CERT_OBJECT
Value:
ST_CERT_CERTCHAIN | ST_CERT_CERTREQ | \
ST_CERT_REQ_CERT )

Definition at line 91 of file msg_acl.c.

#define PUBKEY_KEYSET_OBJECT
Value:
ST_KEYSET_FILE_RO | ST_KEYSET_DBMS | \
ST_KEYSET_DBMS_STORE | ST_KEYSET_HTTP | \
ST_KEYSET_LDAP | ST_DEV_P11 | \
ST_DEV_CAPI | ST_DEV_HW )

Definition at line 94 of file msg_acl.c.

Function Documentation

void endMessageACL ( void  )

Definition at line 986 of file msg_acl.c.

CHECK_RETVAL int postDispatchChangeState ( IN_HANDLE const int  objectHandle,
STDC_UNUSED const MESSAGE_TYPE  dummy1,
STDC_UNUSED const void *  dummy2,
STDC_UNUSED const int  dummy3,
STDC_UNUSED const void *  dummy4 
)

Definition at line 2411 of file msg_acl.c.

CHECK_RETVAL int postDispatchChangeStateOpt ( IN_HANDLE const int  objectHandle,
STDC_UNUSED const MESSAGE_TYPE  dummy1,
STDC_UNUSED const void *  dummy2,
const int  messageValue,
IN TYPECAST(ATTRIBUTE_ACL *) const void *  auxInfo 
)

Definition at line 2432 of file msg_acl.c.

CHECK_RETVAL int postDispatchForwardToDependentObject ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
IN_ENUM(MESSAGE_CHECK) const int  messageValue,
STDC_UNUSED const void *  dummy2 
)

Definition at line 2304 of file msg_acl.c.

CHECK_RETVAL int postDispatchHandleZeroise ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy2,
IN_ENUM(MESSAGE_USERMGMT) const int  messageValue,
STDC_UNUSED const void *  dummy3 
)

Definition at line 2479 of file msg_acl.c.

CHECK_RETVAL int postDispatchMakeObjectExternal ( STDC_UNUSED const int  dummy,
IN_MESSAGE const MESSAGE_TYPE  message,
const void *  messageDataPtr,
const int  messageValue,
const void *  auxInfo 
)

Definition at line 2143 of file msg_acl.c.

CHECK_RETVAL int postDispatchUpdateUsageCount ( IN_HANDLE const int  objectHandle,
STDC_UNUSED const MESSAGE_TYPE  dummy1,
STDC_UNUSED const void *  dummy2,
STDC_UNUSED const int  dummy3,
STDC_UNUSED const void *  dummy4 
)

Definition at line 2374 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckActionAccess ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
STDC_UNUSED const int  dummy2,
STDC_UNUSED const void *  dummy3 
)

Definition at line 1670 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckCheckParam ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
IN_ENUM(MESSAGE_CHECK) const int  messageValue,
STDC_UNUSED const void *  dummy2 
)

Definition at line 1589 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckCompareParam ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
const void *  messageDataPtr,
IN_ENUM(MESSAGE_COMPARE) const int  messageValue,
STDC_UNUSED const void *  dummy 
)

Definition at line 1505 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckExportAccess ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
const void *  messageDataPtr,
IN_ENUM(CRYPT_CERTFORMAT) const int  messageValue,
STDC_UNUSED const void *  dummy2 
)

Definition at line 1866 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckParamHandleOpt ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
const int  messageValue,
IN TYPECAST(MESSAGE_ACL *) const void *  auxInfo 
)

Definition at line 1764 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckState ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
STDC_UNUSED const int  dummy2,
STDC_UNUSED const void *  dummy3 
)

Definition at line 1725 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckStateParamHandle ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
const int  messageValue,
IN TYPECAST(MESSAGE_ACL *) const void *  auxInfo 
)

Definition at line 1814 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckTrustMgmtAccess ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
const void *  messageDataPtr,
STDC_UNUSED const int  messageValue,
STDC_UNUSED const void *  dummy 
)

Definition at line 2092 of file msg_acl.c.

CHECK_RETVAL int preDispatchCheckUserMgmtAccess ( IN_HANDLE const int  objectHandle,
IN_MESSAGE const MESSAGE_TYPE  message,
STDC_UNUSED const void *  dummy1,
IN_ENUM(MESSAGE_USERMGMT) const int  messageValue,
STDC_UNUSED const void *  dummy2 
)

Definition at line 2061 of file msg_acl.c.

CHECK_RETVAL int preDispatchSignalDependentObjects ( IN_HANDLE const int  objectHandle,
STDC_UNUSED const MESSAGE_TYPE  dummy1,
STDC_UNUSED const void *  dummy2,
STDC_UNUSED const int  dummy3,
STDC_UNUSED const void *  dummy4 
)

Definition at line 1006 of file msg_acl.c.

CHECK_RETVAL_BOOL STDC_NONNULL_ARG ( (2)  )

Definition at line 540 of file msg_acl.c.

CHECK_RETVAL_BOOL STDC_NONNULL_ARG ( (1)  )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 593 of file msg_acl.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (5)  )

Definition at line 1045 of file msg_acl.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (3)  )

Definition at line 1910 of file msg_acl.c.