Back to index

nordugrid-arc-nox  1.1.0~rc6
Namespaces | Functions | Variables
GlobusSigningPolicy.cpp File Reference
#include <iostream>
#include <fstream>
#include <string>
#include <list>
#include <arc/Logger.h>
#include <arc/ArcRegex.h>
#include <openssl/x509.h>
#include "GlobusSigningPolicy.h"

Go to the source code of this file.


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


static void Arc::get_line (std::istream &in, std::string &s)
static void Arc::get_word (std::string &s, std::string &word)
static bool Arc::get_id (std::string &s, std::string &ca_subject)
static bool Arc::get_rights (std::string &s)
static bool Arc::get_conditions (std::string s, std::list< std::string > &patterns)
static bool Arc::match_all (const std::string &issuer_subject, const std::string &subject, const std::string policy_ca_subject, std::list< std::string > policy_patterns)
static void Arc::X509_NAME_to_string (std::string &str, const X509_NAME *name)
bool Arc::match_globus_policy (std::istream &in, const X509_NAME *issuer_subject, const X509_NAME *subject)
std::istream * Arc::open_globus_policy (const X509_NAME *issuer_subject, const std::string &ca_path)


const char Arc::access_id [] = "access_id_"
const char Arc::positive_rights [] = "pos_rights"
const char Arc::negative_rights [] = "neg_rights"
const char Arc::globus_id [] = "globus"
const char Arc::sign_id [] = "CA:sign"
const char Arc::conditions_id [] = "cond_"
const char Arc::policy_suffix [] = ".signing_policy"