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.
Returns:
0 if the user is allowed some access
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.
See Also:
CapCert
AKMessage, 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