int remoteCheckAccessByCertFile

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

Given a file name which contains a PEM encoded x509 certificate or certificate chain for a user, and the name of the resource, returns the capability structure which contains the unconditional and conditional rightsThis method sends a messaage to an Akenti server.

Documentation

Given a file name which contains a PEM encoded x509 certificate or certificate chain for a user, and the name of the resource, returns the capability structure which contains the unconditional and conditional rightsThis 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 to be 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++.