Scroll to navigation

globus_gsi_cert_utils_constants(3) globus_gsi_cert_utils globus_gsi_cert_utils_constants(3)

NAME

globus_gsi_cert_utils_constants - Cert Utils Constants


- Cert Utils Constants.

SYNOPSIS

Typedefs


typedef enum globus_gsi_cert_utils_cert_type_e globus_gsi_cert_utils_cert_type_t

Enumerations


enum globus_gsi_cert_utils_error_t { GLOBUS_GSI_CERT_UTILS_ERROR_SUCCESS = 0, GLOBUS_GSI_CERT_UTILS_ERROR_GETTING_NAME_ENTRY_OF_SUBJECT = 1, GLOBUS_GSI_CERT_UTILS_ERROR_COPYING_SUBJECT = 2, GLOBUS_GSI_CERT_UTILS_ERROR_GETTING_CN_ENTRY = 3, GLOBUS_GSI_CERT_UTILS_ERROR_ADDING_CN_TO_SUBJECT = 4, GLOBUS_GSI_CERT_UTILS_ERROR_OUT_OF_MEMORY = 5, GLOBUS_GSI_CERT_UTILS_ERROR_UNEXPECTED_FORMAT = 6, GLOBUS_GSI_CERT_UTILS_ERROR_NON_COMPLIANT_PROXY = 7, GLOBUS_GSI_CERT_UTILS_ERROR_DETERMINING_CERT_TYPE = 8, GLOBUS_GSI_CERT_UTILS_ERROR_LAST = 9 }
enum globus_gsi_cert_utils_cert_type_e { GLOBUS_GSI_CERT_UTILS_TYPE_DEFAULT = 0, GLOBUS_GSI_CERT_UTILS_TYPE_EEC = (1 << 0), GLOBUS_GSI_CERT_UTILS_TYPE_CA = (1 << 1), GLOBUS_GSI_CERT_UTILS_TYPE_GSI_2 = (1 << 2), GLOBUS_GSI_CERT_UTILS_TYPE_GSI_3 = (1 << 3), GLOBUS_GSI_CERT_UTILS_TYPE_RFC = (1 << 4), GLOBUS_GSI_CERT_UTILS_TYPE_FORMAT_MASK, GLOBUS_GSI_CERT_UTILS_TYPE_IMPERSONATION_PROXY = (1 << 5), GLOBUS_GSI_CERT_UTILS_TYPE_LIMITED_PROXY = (1 << 6), GLOBUS_GSI_CERT_UTILS_TYPE_RESTRICTED_PROXY = (1 << 7), GLOBUS_GSI_CERT_UTILS_TYPE_INDEPENDENT_PROXY = (1 << 8), GLOBUS_GSI_CERT_UTILS_TYPE_PROXY_MASK, GLOBUS_GSI_CERT_UTILS_TYPE_GSI_3_IMPERSONATION_PROXY, GLOBUS_GSI_CERT_UTILS_TYPE_GSI_3_INDEPENDENT_PROXY, GLOBUS_GSI_CERT_UTILS_TYPE_GSI_3_LIMITED_PROXY, GLOBUS_GSI_CERT_UTILS_TYPE_GSI_3_RESTRICTED_PROXY, GLOBUS_GSI_CERT_UTILS_TYPE_GSI_2_PROXY, GLOBUS_GSI_CERT_UTILS_TYPE_GSI_2_LIMITED_PROXY, GLOBUS_GSI_CERT_UTILS_TYPE_RFC_IMPERSONATION_PROXY, GLOBUS_GSI_CERT_UTILS_TYPE_RFC_INDEPENDENT_PROXY, GLOBUS_GSI_CERT_UTILS_TYPE_RFC_LIMITED_PROXY, GLOBUS_GSI_CERT_UTILS_TYPE_RFC_RESTRICTED_PROXY }

Detailed Description

Cert Utils Constants.

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

Default proxy type
A end entity certificate
A CA certificate
Legacy Proxy Format
X.509 Proxy Certificate Profile (draft) Proxy Format
X.509 Proxy Certificate Profile Compliant Proxy Format
Proxy certificate formats mask
Impersonation proxy type
Limited proxy type
Restricted proxy type
Independent proxy type
Proxy types mask
A X.509 Proxy Certificate Profile (pre-RFC) compliant impersonation proxy
A X.509 Proxy Certificate Profile (pre-RFC) compliant independent proxy
A X.509 Proxy Certificate Profile (pre-RFC) compliant limited proxy
A X.509 Proxy Certificate Profile (pre-RFC) compliant restricted proxy
A legacy Globus impersonation proxy
A legacy Globus limited impersonation proxy
A X.509 Proxy Certificate Profile RFC compliant impersonation proxy
A X.509 Proxy Certificate Profile RFC compliant independent proxy
A X.509 Proxy Certificate Profile RFC compliant limited proxy
A X.509 Proxy Certificate Profile RFC compliant restricted proxy

enum globus_gsi_cert_utils_error_t

Cert Utils Error Codes

Enumerator

Success - never used
Failed to retrieve a subcomponent of the subject
A error occurred while trying to copy a X.509 subject
Failed to retrieve a CN subcomponent of the subject
Failed to add a CN component to a X.509 subject name
Out of memory
Something unexpected happen while converting a string subject to a X509_NAME structure
Proxy does not comply with the expected format
Couldn't dtermine the certificate type
Last marker - never used

Author

Generated automatically by Doxygen for globus_gsi_cert_utils from the source code.

Tue Jul 5 2022 Version 10.10