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.

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
Returns:
0 if successful (user is not denied access)
See Also:
freeAKMessage

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.