#include <voms_api.h>
Public Member Functions | |
vomsdata (std::string voms_dir="", std::string cert_dir="") | |
bool | LoadSystemContacts (std::string dir="") |
bool | LoadUserContacts (std::string dir="") |
std::vector< contactdata > | FindByAlias (std::string alias) |
std::vector< contactdata > | FindByVO (std::string vo) |
void | Order (std::string att) |
void | ResetOrder (void) |
void | AddTarget (std::string target) |
std::vector< std::string > | ListTargets (void) |
void | ResetTargets (void) |
std::string | ServerErrors (void) |
bool | Retrieve (X509 *cert, STACK_OF(X509)*chain, recurse_type how=RECURSE_CHAIN) |
bool | Contact (std::string hostname, int port, std::string servsubject, std::string command) |
bool | ContactRaw (std::string hostname, int port, std::string servsubject, std::string command, std::string &raw, int &version) |
void | SetVerificationType (verify_type how) |
void | SetLifetime (int lifetime) |
bool | Import (std::string buffer) |
bool | Export (std::string &data) |
bool | DefaultData (voms &) |
std::string | ErrorMessage (void) |
bool | RetrieveFromCtx (gss_ctx_id_t context, recurse_type how) |
bool | RetrieveFromCred (gss_cred_id_t credential, recurse_type how) |
bool | Retrieve (X509_EXTENSION *ext) |
bool | RetrieveFromProxy (recurse_type how) |
bool | Retrieve (FILE *file, recurse_type how) |
~vomsdata () | |
vomsdata (const vomsdata &) | |
void | SetRetryCount (int retryCount) |
void | SetVerificationTime (time_t) |
bool | LoadCredentials (X509 *cert, STACK_OF(X509)*chain, EVP_PKEY *key) |
Data Fields | |
verror_type | error |
std::vector< voms > | data |
std::string | workvo |
std::string | extra_data |
Data Structures | |
class | Initializer |
Definition at line 169 of file voms_api.h.
|
If cert_dir is empty, the value of the environment variable X509_CERT_DIR is taken. |
|
|
|
|
|
Adds a target to the AC.
|
|
Contacts a VOMS server to get a certificate It is the equivalent of the voms_proxy_init command, but without the --include functionality.
|
|
Same as Contact, however it does not start the verification process, and the message receviedfrom the server is not parsed.
|
|
Get the default data extension from those present in the pseudo certificate |
|
Gets a textual description of the error.
|
|
Exports data from vomsdata::data to the format used for inclusion into a certificate. The function doesn't verify the data
|
|
Finds servers which share a common alias.
|
|
Finds servers which serve a common VO
|
|
Converts data from the format used for inclusion into a certificate to the internal format The function does verify the data.
|
|
Returns the list of targets. |
|
|
|
Loads the system wide configuration files.
|
|
Loads the user-specific configuration files.
|
|
Sets up the ordering of the results. Defines the ordering of the data returned by Contact(). Results are ordered in the same order as the calls to this function.
|
|
Resets the ordering. |
|
Resets the target list. |
|
Gets VOMS information from a proxy saved as a file.
|
|
Gets VOMS information from the given extension
|
|
Extracts the VOMS extension from an X.509 certificate. The function doesn't check the validity of the certificates, but it does check the content of the user data.
|
|
Gets VOMS information from the given globus credential
|
|
Gets VOMS information from the given globus context
|
|
Gets VOMS information from an existing globus proxy
|
|
Gets the error message returned by the server |
|
Set requested lifetime for the Contact() call.
|
|
|
|
|
|
Sets the type of verification done on the data.
|
|
User's info, as in the certificate extension. It may contain data gathered from more than one VOMS server, Definition at line 316 of file voms_api.h. |
|
Error code Definition at line 188 of file voms_api.h. |
|
The data specified by the user with the --include switch. Note that this field doesn't contain the result of a request to the VOMS server, but instead data specified by the user. The reason for the introduction of this extension is to let a user include important data into his proxy certificate, like, for example, a kerberos ticket Definition at line 320 of file voms_api.h. |
|
The value of the -vo option of the voms-proxy-init command Definition at line 319 of file voms_api.h. |