Back to index

nordugrid-arc-nox  1.1.0~rc6
Classes | Namespaces | Defines | Typedefs | Functions | Variables
Credential.cpp File Reference
#include <vector>
#include <fstream>
#include <fcntl.h>
#include <openssl/ui.h>
#include <glibmm/fileutils.h>
#include <arc/crypto/OpenSSL.h>
#include <arc/Utils.h>
#include <arc/credential/VOMSUtil.h>
#include "Credential.h"

Go to the source code of this file.


struct  Arc::pw_cb_data
class  Arc::AutoBIO


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


#define PASS_MIN_LENGTH   4
#define PASS_MAX_LENGTH   20
#define OBJC(c, n)   OBJ_create(c,n,#c)
#define SERIAL_RAND_BITS   64
#define BSIZE   256
#define POSTFIX   ".srl"


typedef struct Arc::pw_cb_data Arc::PW_CB_DATA


static int Arc::ssl_err_cb (const char *str, size_t, void *u)
static int Arc::passwordcb (char *buf, int bufsiz, int verify, PW_CB_DATA *cb_tmp)
Time Arc::asn1_to_utctime (const ASN1_UTCTIME *s)
static void Arc::getLifetime (STACK_OF(X509)*certchain, X509 *cert, Time &start, Period &lifetime)
static int Arc::keygen_cb (int p, int, BN_GENCB *)
 Arc::STACK_OF (X509)*Credential
static void Arc::print_ssl_errors ()
int Arc::rand_serial (BIGNUM *b, ASN1_INTEGER *ai)
BIGNUM * Arc::load_serial (char *serialfile, int create, ASN1_INTEGER **retai)
int Arc::save_serial (char *serialfile, char *suffix, BIGNUM *serial, ASN1_INTEGER **retai)
static ASN1_INTEGER * Arc::x509_load_serial (char *CAfile, char *serialfile, int create)
static int Arc::x509_certify (X509_STORE *ctx, char *CAfile, const EVP_MD *digest, X509 *x, X509 *xca, EVP_PKEY *pkey, char *serialfile, int create, long lifetime, int clrext, CONF *conf, char *section, ASN1_INTEGER *sno)


Logger Arc::CredentialLogger (Logger::rootLogger,"Credential")
 Logger to be used by all modules of credentials library.
static bool Arc::proxy_init_ = false

Class Documentation

struct Arc::pw_cb_data

Definition at line 72 of file Credential.cpp.

Class Members
const void * password
const char * prompt_info

Define Documentation

#define BSIZE   256

Definition at line 2236 of file Credential.cpp.

#define OBJC (   c,
)    OBJ_create(c,n,#c)
#define PASS_MAX_LENGTH   20

Definition at line 71 of file Credential.cpp.

#define PASS_MIN_LENGTH   4

Definition at line 70 of file Credential.cpp.

#define POSTFIX   ".srl"

Definition at line 2336 of file Credential.cpp.

#define SERIAL_RAND_BITS   64

Definition at line 2214 of file Credential.cpp.