Cert Utils Constants
Globus GSI Certificate Handling Utilities
Collaboration diagram for Cert Utils Constants:

## Typedefs

typedef enum globus_gsi_cert_utils_cert_type_e | globus_gsi_cert_utils_cert_type_t

## Enumerations

## Detailed Description

## Typedef Documentation

typedef enum globus_gsi_cert_utils_cert_type_e globus_gsi_cert_utils_cert_type_t

Certificate Types.

These certificate types are used to describe some properties of a certificate and to specify what type of proxy should be generated in the proxy core code. There are two non-proxy types of certificates understood by Globus: EEC (End-Entity Certificate) and CA (Certificate Authority Certificates), three proxy formats (GSI 2 "legacy" proxies, GSI 3 "Draft" proxies, and RFC 3820-compliant proxies), and four types of proxy (limited, impersonation "full", restricted, and independent). The latter two types are not expressible in the GSI 2 format.

In addition to enumerations for the concrete renderings of certificate format and type combined, there are default, formats-without-types and types-without-formats so that application logic which uses the proxy library can request default proxy formats which are compatible with the issuing certificate.

## Enumeration Type Documentation

enum globus_gsi_cert_utils_cert_type_e

Certificate Types.

These certificate types are used to describe some properties of a certificate and to specify what type of proxy should be generated in the proxy core code. There are two non-proxy types of certificates understood by Globus: EEC (End-Entity Certificate) and CA (Certificate Authority Certificates), three proxy formats (GSI 2 "legacy" proxies, GSI 3 "Draft" proxies, and RFC 3820-compliant proxies), and four types of proxy (limited, impersonation "full", restricted, and independent). The latter two types are not expressible in the GSI 2 format.

In addition to enumerations for the concrete renderings of certificate format and type combined, there are default, formats-without-types and types-without-formats so that application logic which uses the proxy library can request default proxy formats which are compatible with the issuing certificate.

Enumerator
GLOBUS_GSI_CERT_UTILS_TYPE_DEFAULT | Default proxy type
GLOBUS_GSI_CERT_UTILS_TYPE_EEC | A end entity certificate
GLOBUS_GSI_CERT_UTILS_TYPE_CA | A CA certificate
GLOBUS_GSI_CERT_UTILS_TYPE_GSI_2 | Legacy Proxy Format
GLOBUS_GSI_CERT_UTILS_TYPE_GSI_3 | X.509 Proxy Certificate Profile (draft) Proxy Format
GLOBUS_GSI_CERT_UTILS_TYPE_RFC | X.509 Proxy Certificate Profile Compliant Proxy Format
GLOBUS_GSI_CERT_UTILS_TYPE_FORMAT_MASK | Proxy certificate formats mask
GLOBUS_GSI_CERT_UTILS_TYPE_IMPERSONATION_PROXY | Impersonation proxy type
GLOBUS_GSI_CERT_UTILS_TYPE_LIMITED_PROXY | Limited proxy type
GLOBUS_GSI_CERT_UTILS_TYPE_RESTRICTED_PROXY | Restricted proxy type
GLOBUS_GSI_CERT_UTILS_TYPE_INDEPENDENT_PROXY | Independent proxy type
GLOBUS_GSI_CERT_UTILS_TYPE_PROXY_MASK | Proxy types mask
GLOBUS_GSI_CERT_UTILS_TYPE_GSI_3_IMPERSONATION_PROXY | A X.509 Proxy Certificate Profile (pre-RFC) compliant impersonation proxy
GLOBUS_GSI_CERT_UTILS_TYPE_GSI_3_INDEPENDENT_PROXY | A X.509 Proxy Certificate Profile (pre-RFC) compliant independent proxy
GLOBUS_GSI_CERT_UTILS_TYPE_GSI_3_LIMITED_PROXY | A X.509 Proxy Certificate Profile (pre-RFC) compliant limited proxy
GLOBUS_GSI_CERT_UTILS_TYPE_GSI_3_RESTRICTED_PROXY | A X.509 Proxy Certificate Profile (pre-RFC) compliant restricted proxy
GLOBUS_GSI_CERT_UTILS_TYPE_GSI_2_PROXY | A legacy Globus impersonation proxy
GLOBUS_GSI_CERT_UTILS_TYPE_GSI_2_LIMITED_PROXY | A legacy Globus limited impersonation proxy
GLOBUS_GSI_CERT_UTILS_TYPE_RFC_IMPERSONATION_PROXY | A X.509 Proxy Certificate Profile RFC compliant impersonation proxy
GLOBUS_GSI_CERT_UTILS_TYPE_RFC_INDEPENDENT_PROXY | A X.509 Proxy Certificate Profile RFC compliant independent proxy
GLOBUS_GSI_CERT_UTILS_TYPE_RFC_LIMITED_PROXY | A X.509 Proxy Certificate Profile RFC compliant limited proxy
GLOBUS_GSI_CERT_UTILS_TYPE_RFC_RESTRICTED_PROXY | A X.509 Proxy Certificate Profile RFC compliant restricted proxy

enum globus_gsi_cert_utils_error_t

Cert Utils Error Codes

Enumerator
GLOBUS_GSI_CERT_UTILS_ERROR_SUCCESS | Success - never used
GLOBUS_GSI_CERT_UTILS_ERROR_GETTING_NAME_ENTRY_OF_SUBJECT | Failed to retreive a subcomponent of the subject
GLOBUS_GSI_CERT_UTILS_ERROR_COPYING_SUBJECT | A error occured while trying to copy a X.509 subject
GLOBUS_GSI_CERT_UTILS_ERROR_GETTING_CN_ENTRY | Failed to retreive a CN subcomponent of the subject
GLOBUS_GSI_CERT_UTILS_ERROR_ADDING_CN_TO_SUBJECT | Failed to add a CN component to a X.509 subject name
GLOBUS_GSI_CERT_UTILS_ERROR_OUT_OF_MEMORY | Out of memory
GLOBUS_GSI_CERT_UTILS_ERROR_UNEXPECTED_FORMAT | Something unexpected happen while converting a string subject to a X509_NAME structure
GLOBUS_GSI_CERT_UTILS_ERROR_NON_COMPLIANT_PROXY | Proxy does not comply with the expected format
GLOBUS_GSI_CERT_UTILS_ERROR_DETERMINING_CERT_TYPE | Couldn't dtermine the certificate type
GLOBUS_GSI_CERT_UTILS_ERROR_LAST | Last marker - never used