Back to index

nordugrid-arc-nox  1.1.0~rc6
Classes | Namespaces | Defines | Enumerations | Functions
CertUtil.h File Reference
#include <string>
#include <openssl/pem.h>
#include <openssl/x509.h>
#include <openssl/stack.h>
#include <arc/credential/Proxycertinfo.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ArcCredential::cert_verify_context

Namespaces

namespace  ArcCredential
 Functions and constants for maintaining proxy certificates.

Defines

#define PROXYCERTINFO_V3   "1.3.6.1.4.1.3536.1.222"
#define PROXYCERTINFO_V4   "1.3.6.1.5.5.7.1.14"
#define PROXYCERTINFO_OPENSSL   "1.3.6.1.5.5.7.1.14"
#define CERT_IS_PROXY(cert_type)
 True if certificate type is one of proxy certificates.
#define CERT_IS_RFC_PROXY(cert_type)
 True if certificate type is one of standard proxy certificates.
#define CERT_IS_GSI_3_PROXY(cert_type)
 True if certificate type is one of Globus newer proxy certificates.
#define CERT_IS_GSI_2_PROXY(cert_type)
 True if certificate type is one of Globus older proxy certificates.
#define CERT_IS_INDEPENDENT_PROXY(cert_type)
#define CERT_IS_RESTRICTED_PROXY(cert_type)
#define CERT_IS_LIMITED_PROXY(cert_type)
#define CERT_IS_IMPERSONATION_PROXY(cert_type)
#define VERIFY_CTX_STORE_EX_DATA_IDX   1

Enumerations

enum  ArcCredential::certType {
  ArcCredential::CERT_TYPE_EEC, ArcCredential::CERT_TYPE_CA, ArcCredential::CERT_TYPE_GSI_3_IMPERSONATION_PROXY, ArcCredential::CERT_TYPE_GSI_3_INDEPENDENT_PROXY,
  ArcCredential::CERT_TYPE_GSI_3_LIMITED_PROXY, ArcCredential::CERT_TYPE_GSI_3_RESTRICTED_PROXY, ArcCredential::CERT_TYPE_GSI_2_PROXY, ArcCredential::CERT_TYPE_GSI_2_LIMITED_PROXY,
  ArcCredential::CERT_TYPE_RFC_IMPERSONATION_PROXY, ArcCredential::CERT_TYPE_RFC_INDEPENDENT_PROXY, ArcCredential::CERT_TYPE_RFC_LIMITED_PROXY, ArcCredential::CERT_TYPE_RFC_RESTRICTED_PROXY,
  ArcCredential::CERT_TYPE_RFC_ANYLANGUAGE_PROXY
}

Functions

int ArcCredential::verify_cert_chain (X509 *cert, STACK_OF(X509)**certchain, cert_verify_context *vctx)
bool ArcCredential::check_cert_type (X509 *cert, certType &type)
const char * ArcCredential::certTypeToString (certType type)

Define Documentation

#define CERT_IS_GSI_2_PROXY (   cert_type)
Value:
(cert_type == CERT_TYPE_GSI_2_PROXY || \
         cert_type == CERT_TYPE_GSI_2_LIMITED_PROXY)

True if certificate type is one of Globus older proxy certificates.

Definition at line 82 of file CertUtil.h.

#define CERT_IS_GSI_3_PROXY (   cert_type)
Value:

True if certificate type is one of Globus newer proxy certificates.

Definition at line 75 of file CertUtil.h.

#define CERT_IS_IMPERSONATION_PROXY (   cert_type)
Value:

Definition at line 99 of file CertUtil.h.

#define CERT_IS_INDEPENDENT_PROXY (   cert_type)
Value:

Definition at line 86 of file CertUtil.h.

#define CERT_IS_LIMITED_PROXY (   cert_type)
Value:

Definition at line 94 of file CertUtil.h.

#define CERT_IS_PROXY (   cert_type)
Value:

True if certificate type is one of proxy certificates.

Definition at line 53 of file CertUtil.h.

#define CERT_IS_RESTRICTED_PROXY (   cert_type)
Value:

Definition at line 90 of file CertUtil.h.

#define CERT_IS_RFC_PROXY (   cert_type)
Value:

True if certificate type is one of standard proxy certificates.

Definition at line 67 of file CertUtil.h.

#define PROXYCERTINFO_OPENSSL   "1.3.6.1.5.5.7.1.14"

Definition at line 19 of file CertUtil.h.

#define PROXYCERTINFO_V3   "1.3.6.1.4.1.3536.1.222"

Definition at line 13 of file CertUtil.h.

#define PROXYCERTINFO_V4   "1.3.6.1.5.5.7.1.14"

Definition at line 17 of file CertUtil.h.

Definition at line 111 of file CertUtil.h.