Scroll to navigation

voms_api.h(3) Library Functions Manual voms_api.h(3)

NAME

voms_api.h

SYNOPSIS

#include 'config.h'
#include <fstream>
#include <string>
#include <vector>
#include <openssl/x509.h>
#include <openssl/bio.h>
#include <sys/types.h>
#include 'newformat.h'

Data Structures


struct data
User's characteristics: can be repeated. Generic name-value attribute : can be repeated. struct attribute
struct attributelist
struct contactdata
struct voms
struct vomsdata

Macros


#define NOGLOBUS

Typedefs


typedef void * gss_cred_id_t
typedef void * gss_ctx_id_t
typedef bool(* check_sig) (X509 *, void *, verror_type &)

Enumerations


enum data_type { TYPE_NODATA, TYPE_STD, TYPE_CUSTOM }
The type of data returned. enum recurse_type { RECURSE_CHAIN, RECURSE_NONE, RECURSE_DEEP }
enum verify_type { VERIFY_FULL = 0xffffffff, VERIFY_NONE = 0x00000000, VERIFY_DATE = 0x00000001, VERIFY_TARGET = 0x00000002, VERIFY_KEY = 0x00000004, VERIFY_SIGN = 0x00000008, VERIFY_ORDER = 0x00000010, VERIFY_ID = 0x00000020, VERIFY_CERTLIST = 0x00000040 }
enum verror_type { VERR_NONE, VERR_NOSOCKET, VERR_NOIDENT, VERR_COMM, VERR_PARAM, VERR_NOEXT, VERR_NOINIT, VERR_TIME, VERR_IDCHECK, VERR_EXTRAINFO, VERR_FORMAT, VERR_NODATA, VERR_PARSE, VERR_DIR, VERR_SIGN, VERR_SERVER, VERR_MEM, VERR_VERIFY, VERR_TYPE, VERR_ORDER, VERR_SERVERCODE, VERR_NOTAVAIL, VERR_FILE }
Error codes.

Functions


int getVOMSMajorVersionNumber (void)
int getVOMSMinorVersionNumber (void)
int getVOMSPatchVersionNumber (void)

Macro Definition Documentation

#define NOGLOBUS

Definition at line 36 of file voms_api.h.

Typedef Documentation

typedef bool(* check_sig) (X509 *, void *, verror_type &)

Definition at line 195 of file voms_api.h.

typedef void* gss_cred_id_t

Definition at line 47 of file voms_api.h.

typedef void* gss_ctx_id_t

Definition at line 48 of file voms_api.h.

Enumeration Type Documentation

enum data_type

The type of data returned.

Enumerator

no data
group, role, capability triplet
result of an S command

Definition at line 82 of file voms_api.h.

enum recurse_type

Enumerator

Definition at line 148 of file voms_api.h.

enum verify_type

Enumerator

Definition at line 154 of file voms_api.h.

enum verror_type

Error codes.

Enumerator

Socket problem
Cannot identify itself (certificate problem)
Server problem
Wrong parameters
VOMS extension missing
Initialization error
Error in time checking
User data in extension different from the real ones
VO name and URI missing
Wrong data format
Empty extension
Parse error
Directory error
Signature error
Unidentifiable VOMS server
Memory problems
Generic verification error
Returned data of unknown type
Ordering different than required
Error message from the server
Method not available
Error reading data from file

Definition at line 168 of file voms_api.h.

Function Documentation

int getVOMSMajorVersionNumber (void)

int getVOMSMinorVersionNumber (void)

int getVOMSPatchVersionNumber (void)

Author

Generated automatically by Doxygen for VOMS CC API from the source code.

Version 1.5.0 VOMS CC API