Grid Community Toolkit  6.2.1567772254 (tag: v6.2.20190906)
Typedefs | Enumerations

Cert Utils Constants. More...

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

◆ 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

◆ 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

◆ 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 retrieve 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 retrieve 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