Back to index

nordugrid-arc-nox  1.1.0~rc6
Classes | Namespaces | Typedefs | Functions
VOMSUtil.h File Reference
#include <vector>
#include <string>
#include <arc/ArcRegex.h>
#include <arc/credential/VOMSAttribute.h>
#include <arc/credential/Credential.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Arc::VOMSTrustList
 Stores definitions for making decision if VOMS server is trusted. More...

Namespaces

namespace  Arc
 ARCJSDLParser The ARCJSDLParser class, derived from the JobDescriptionParser class, is primarily a job description parser for the consolidated job description language (ARCJSDL), derived from JSDL, described in the following document http://svn.nordugrid.org/trac/nordugrid/browser/arc1/trunk/doc/tech_doc/client/job_description.odt.

Typedefs

typedef std::vector< std::string > Arc::VOMSTrustChain
typedef std::string Arc::VOMSTrustRegex

Functions

void Arc::InitVOMSAttribute (void)
int Arc::createVOMSAC (X509 *issuer, STACK_OF(X509)*issuerstack, X509 *holder, EVP_PKEY *pkey, BIGNUM *serialnum, std::vector< std::string > &fqan, std::vector< std::string > &targets, std::vector< std::string > &attrs, AC **ac, std::string voname, std::string uri, int lifetime)
bool Arc::createVOMSAC (std::string &codedac, Credential &issuer_cred, Credential &holder_cred, std::vector< std::string > &fqan, std::vector< std::string > &targets, std::vector< std::string > &attributes, std::string &voname, std::string &uri, int lifetime)
 Create AC(Attribute Certificate) with voms specific format.
bool Arc::addVOMSAC (ArcCredential::AC **&aclist, std::string &acorder, std::string &decodedac)
 Add decoded AC string into a list of AC objects.
bool Arc::parseVOMSAC (X509 *holder, const std::string &ca_cert_dir, const std::string &ca_cert_file, const VOMSTrustList &vomscert_trust_dn, std::vector< std::string > &output, bool verify=true)
 Parse the certificate, and output the attributes.
bool Arc::parseVOMSAC (Credential &holder_cred, const std::string &ca_cert_dir, const std::string &ca_cert_file, const VOMSTrustList &vomscert_trust_dn, std::vector< std::string > &output, bool verify=true)
 Parse the certificate.
char * Arc::VOMSDecode (const char *data, int size, int *j)
 Decode the data which is encoded by voms server.
const std::string Arc::get_property (Arc::Credential &u, const std::string property)
 Extract the needed field from the certificate.