Arc::DelegationProvider Class Reference

#include <DelegationInterface.h>

Inheritance diagram for Arc::DelegationProvider:
Arc::DelegationProviderSOAP

Public Member Functions

 DelegationProvider (const std::string &credentials)
 DelegationProvider (const std::string &cert_file, const std::string &key_file, std::istream *inpwd=NULL)
std::string Delegate (const std::string &request, const DelegationRestrictions &restrictions=DelegationRestrictions())

Detailed Description

A provider of delegated credentials. During delegation procedure this class generates new credential to be used in proxy/delegated credential.


Constructor & Destructor Documentation

Arc::DelegationProvider::DelegationProvider ( const std::string &  credentials  ) 

Creates instance from provided credentials. Credentials are used to sign delegated credentials. Arguments should contain PEM-encoded certificate, private key and optionally certificates chain.

Arc::DelegationProvider::DelegationProvider ( const std::string &  cert_file,
const std::string &  key_file,
std::istream *  inpwd = NULL 
)

Creates instance from provided credentials. Credentials are used to sign delegated credentials. Arguments should contain filesystem path to PEM-encoded certificate and private key. Optionally cert_file may contain certificates chain.


Member Function Documentation

std::string Arc::DelegationProvider::Delegate ( const std::string &  request,
const DelegationRestrictions &  restrictions = DelegationRestrictions() 
)

Perform delegation. Takes X509 certificate request and creates proxy credentials excluding private key. Result is then to be fed into DelegationConsumer::Acquire


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 11:54:22 2012 for Hosting Environment (Daemon) by  doxygen 1.6.3