int remoteCheckAccessByCertString

(const char* subjectCert,
  const char* resource,
  CapCert* cap,
  AKMessage* status)

Given a string containing a PEM encoded x509 certificate for a user, and the name of the resource, returns the capability structure which contains the unconditional and conditional rights.

Documentation

Given a string containing a PEM encoded x509 certificate for a user, and the name of the resource, returns the capability structure which contains the unconditional and conditional rights. This method sends a messaage to an Akenti server. It is callable from C code.

Note: akentiClientInit must be called prior to this call.

Parameters:
subjectCertString - a string containing the PME encoded X.509 certificate for user for whom we are checking access
resource - name of the resource for which access is checked
status - a returned error structure containing an error code and error string
cap - a returned pointer to the user's capability certificate; this pointer can be queried for unconditional and conditional rights plus contraints.
Returns:
0 if the user is allowed some access
See Also:
CapCert
AKMessage, freeAkMessage

Alphabetic index HTML hierarchy of classes or Java



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