1 #ifndef __ARC_PROXYUTIL_H__ 2 #define __ARC_PROXYUTIL_H__ 24 bool Contact_VOMS_Server(
bool use_nssdb,
const std::list<std::string>& vomslist,
25 const std::list<std::string>& orderlist,
bool use_gsi_comm,
bool use_http_comm,
26 const std::string& voms_period, std::string vomsacseq);
28 bool Contact_MyProxy_Server();
30 bool Create_Proxy(
bool use_nssdb,
const std::string& proxy_policy,
32 const std::string& vomsacseq);
34 void Set_ProxyPath(
const std::string& proxypath) { proxy_path = proxypath; };
35 std::string Get_ProxyPath() {
return proxy_path; };
37 void Set_CertPath(
const std::string& certpath) { cert_path = certpath; };
38 std::string Get_CertPath() {
return cert_path; };
40 void Set_KeyPath(
const std::string& keypath) { key_path = keypath; };
41 std::string Get_KeyPath() {
return key_path; };
43 void Set_CACertDir(
const std::string& cadir) { ca_dir = cadir; };
44 std::string Get_CACertDir() {
return ca_dir; };
46 void Set_Keybits(
int bits) { keybits = bits; };
47 int Get_Keybits() {
return keybits; };
49 void Set_Digest(SHA_OPTION sha_opt) { sha = sha_opt; };
50 SHA_OPTION Get_Digest() {
return sha; };
52 void Set_VOMSDir(
const std::string& vomsdir) { voms_dir = vomsdir; };
53 std::string Get_VOMSDir() {
return voms_dir; };
55 void Set_VOMSESPath(
const std::string& vomsespath) { vomses_path = vomsespath; };
56 std::string Get_VOMSESPath() {
return vomses_path; };
58 void Set_NSSDBPath(
const std::string& nssdbpath) { nssdb_path = nssdbpath; };
59 std::string Get_NSSDBPath() {
return nssdb_path; };
62 std::string proxy_path;
63 std::string cert_path;
67 std::string vomses_path;
68 std::string nssdb_path;
73 std::string debug_level;
Arc namespace contains all core ARC classes.
Definition: ArcConfig.h:11
Utility class for generating proxies.
Definition: ARCProxyUtil.h:11
A class for storing and manipulating times.
Definition: DateTime.h:125
A Period represents a length of time.
Definition: DateTime.h:48