int checkAccessByCertFile (const char *subjectCertFile, const char *resource, CapCert* cert, AKMessage* mesg)

Given a file containing a PEM encoded x509 certificate for a user, and the name of the resource, returns a capability certificate if any rights are granted

Documentation

Given a file containing a PEM encoded x509 certificate for a user, and the name of the resource, returns a capability certificate if any rights are granted. Note: akentiInit must be called prior to this call.
Returns:
0 if successful (user is not denied access)
Parameters:
subjectCertFile - [in] user's X.509 certificate
resource - [in] name of the resource for which access is to be checked
cert - [out] a pointer to a capability certificate
AKMessage - [out] a message grouped with a status code
See Also:
freeAKMessage

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de