int checkAccessByCertString

(const char* subjectCert,
  const char* resource,
  CapCert* cert, AKMessage* mesg)

Given a string containing a PEM encoded x509 certificate for a user, and the name of the resource, returns a capability certificate if any.

Documentation

Given a string containing a PEM encoded x509 certificate for a user, and the name of the resource, returns a capability certificate if any.

Note: akentiInit must be called prior to this call.

Parameters:
subjectCert - [in] PEM encoded string containing user's X.509 certificate chain
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 succesful (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++.