Back to index

nordugrid-arc-nox  1.1.0~rc6
Namespaces | Functions
XmlSecUtils.h File Reference
#include <vector>
#include <string>
#include <xmlsec/crypto.h>
#include <arc/XMLNode.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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.

Functions

static int Arc::passphrase_callback (char *buf, int size, int rwflag, void *)
 callback method for inputing passphrase of key file
bool Arc::init_xmlsec (void)
 Initialize the xml security library, it should be called before the xml security functionality is used.
bool Arc::final_xmlsec (void)
 Finalize the xml security library.
std::string Arc::get_cert_str (const char *certfile)
 Get certificate in string format from certificate file.
xmlSecKey * Arc::get_key_from_keystr (const std::string &value)
 Get key in xmlSecKey structure from key in string format.
xmlSecKey * Arc::get_key_from_keyfile (const char *keyfile)
 Get key in xmlSecKey structure from key file.
std::string Arc::get_key_from_certfile (const char *certfile)
 Get public key in string format from certificate file.
xmlSecKey * Arc::get_key_from_certstr (const std::string &value)
 Get public key in xmlSecKey structure from certificate string (the string under "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----")
xmlSecKeysMngrPtr Arc::load_key_from_keyfile (xmlSecKeysMngrPtr *keys_manager, const char *keyfile)
 Load private or public key from a key file into key manager.
xmlSecKeysMngrPtr Arc::load_key_from_certfile (xmlSecKeysMngrPtr *keys_manager, const char *certfile)
 Load public key from a certificate file into key manager.
xmlSecKeysMngrPtr Arc::load_key_from_certstr (xmlSecKeysMngrPtr *keys_manager, const std::string &certstr)
 Load public key from a certificate string into key manager.
xmlSecKeysMngrPtr Arc::load_trusted_cert_file (xmlSecKeysMngrPtr *keys_manager, const char *cert_file)
 Load trusted certificate from certificate file into key manager.
xmlSecKeysMngrPtr Arc::load_trusted_cert_str (xmlSecKeysMngrPtr *keys_manager, const std::string &cert_str)
 Load trusted certificate from cetrtificate string into key manager.
xmlSecKeysMngrPtr Arc::load_trusted_certs (xmlSecKeysMngrPtr *keys_manager, const char *cafile, const char *capath)
 Load trusted cetificates from a file or directory into key manager.
static XMLNode Arc::get_node (XMLNode &parent, const char *name)
 Generate a new child XMLNode with specified name.