---
name: "GLOBUS_GSI_CRED_ERROR_SUBJECT_CMP"
section: "3"
platform: "linux"
package: "libglobus-gsi-credential-doc"
version: "8.4-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/globus_gsi_credential_constants"
---

# GLOBUS\_GSI\_CRED\_ERROR\_SUBJECT\_CMP(3)

Credential Constants - Credential Constants.

Part of [globus\_gsi\_credential\_constants(3)](/globus_gsi_credential_constants/3.md).

## NAME

globus\_gsi\_credential\_constants - Credential Constants

 \- Credential Constants.

## SYNOPSIS

### Enumerations

enum **globus\_gsi\_cred\_error\_t** { **GLOBUS\_GSI\_CRED\_ERROR\_SUCCESS** = 0, **GLOBUS\_GSI\_CRED\_ERROR\_READING\_PROXY\_CRED** = 1, **GLOBUS\_GSI\_CRED\_ERROR\_READING\_HOST\_CRED** = 2, **GLOBUS\_GSI\_CRED\_ERROR\_READING\_SERVICE\_CRED** = 3, **GLOBUS\_GSI\_CRED\_ERROR\_READING\_CRED** = 4, **GLOBUS\_GSI\_CRED\_ERROR\_WRITING\_CRED** = 5, **GLOBUS\_GSI\_CRED\_ERROR\_WRITING\_PROXY\_CRED** = 6, **GLOBUS\_GSI\_CRED\_ERROR\_CHECKING\_PROXY** = 7, **GLOBUS\_GSI\_CRED\_ERROR\_VERIFYING\_CRED** = 8, **GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CRED** = 9, **GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CRED\_CERT** = 10, **GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CRED\_PRIVATE\_KEY** = 11, **GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CRED\_CERT\_CHAIN** = 12, **GLOBUS\_GSI\_CRED\_ERROR\_ERRNO** = 13, **GLOBUS\_GSI\_CRED\_ERROR\_SYSTEM\_CONFIG** = 14, **GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CRED\_HANDLE\_ATTRS** = 15, **GLOBUS\_GSI\_CRED\_ERROR\_WITH\_SSL\_CTX** = 16, **GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CALLBACK\_DATA** = 17, **GLOBUS\_GSI\_CRED\_ERROR\_CREATING\_ERROR\_OBJ** = 18, **GLOBUS\_GSI\_CRED\_ERROR\_KEY\_IS\_PASS\_PROTECTED** = 19, **GLOBUS\_GSI\_CRED\_ERROR\_NO\_CRED\_FOUND** = 20, **GLOBUS\_GSI\_CRED\_ERROR\_SUBJECT\_CMP** = 21, **GLOBUS\_GSI\_CRED\_ERROR\_GETTING\_SERVICE\_NAME** = 22, **GLOBUS\_GSI\_CRED\_ERROR\_BAD\_PARAMETER** = 23, **GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CRED\_CERT\_NAME** = 24, **GLOBUS\_GSI\_CRED\_ERROR\_LAST** = 25 }\
 enum **globus\_gsi\_cred\_type\_t** \

## Detailed Description

Credential Constants.

## Enumeration Type Documentation

### enum globus\_gsi\_cred\_error\_t

Credential Error codes

**Enumerator**

- *GLOBUS\_GSI\_CRED\_ERROR\_SUCCESS*

  *Success - never used*

- *GLOBUS\_GSI\_CRED\_ERROR\_READING\_PROXY\_CRED*

  *Failed to read proxy credential*

- *GLOBUS\_GSI\_CRED\_ERROR\_READING\_HOST\_CRED*

  *Failed to read host credential*

- *GLOBUS\_GSI\_CRED\_ERROR\_READING\_SERVICE\_CRED*

  *Failed to read service credential*

- *GLOBUS\_GSI\_CRED\_ERROR\_READING\_CRED*

  *Failed to read user credential*

- *GLOBUS\_GSI\_CRED\_ERROR\_WRITING\_CRED*

  *Failed to write credential*

- *GLOBUS\_GSI\_CRED\_ERROR\_WRITING\_PROXY\_CRED*

  *Failed to write proxy credential*

- *GLOBUS\_GSI\_CRED\_ERROR\_CHECKING\_PROXY*

  *Error checking for proxy credential*

- *GLOBUS\_GSI\_CRED\_ERROR\_VERIFYING\_CRED*

  *Failed to verify credential*

- *GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CRED*

  *Invalid credential*

- *GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CRED\_CERT*

  *Invalid certificate*

- *GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CRED\_PRIVATE\_KEY*

  *Invalid private key*

- *GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CRED\_CERT\_CHAIN*

  *Invalid certificate chain*

- *GLOBUS\_GSI\_CRED\_ERROR\_ERRNO*

  *System error*

- *GLOBUS\_GSI\_CRED\_ERROR\_SYSTEM\_CONFIG*

  *A Globus GSI System Configuration call failed*

- *GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CRED\_HANDLE\_ATTRS*

  *Invalid credential handle attributes*

- *GLOBUS\_GSI\_CRED\_ERROR\_WITH\_SSL\_CTX*

  *Faulty SSL context*

- *GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CALLBACK\_DATA*

  *Faulty callback data*

- *GLOBUS\_GSI\_CRED\_ERROR\_CREATING\_ERROR\_OBJ*

  *Failed to aggregate errors*

- *GLOBUS\_GSI\_CRED\_ERROR\_KEY\_IS\_PASS\_PROTECTED*

  *Error reading private key - the key is password protected*

- *GLOBUS\_GSI\_CRED\_ERROR\_NO\_CRED\_FOUND*

  *Couldn't find credential to read*

- *GLOBUS\_GSI\_CRED\_ERROR\_SUBJECT\_CMP*

  *Credential subjects do not compare*

- *GLOBUS\_GSI\_CRED\_ERROR\_GETTING\_SERVICE\_NAME*

  *Unable to obtain service name from CN entry*

- *GLOBUS\_GSI\_CRED\_ERROR\_BAD\_PARAMETER*

  *Invalid function parameter*

- *GLOBUS\_GSI\_CRED\_ERROR\_WITH\_CRED\_CERT\_NAME*

  *Failed to process certificate subject*

- *GLOBUS\_GSI\_CRED\_ERROR\_LAST*

  *End marker - never used*

### enum globus\_gsi\_cred\_type\_t

*Credential Type*

*An enum representing a GSI Credential Type which holds info about the type of a particular credential. The three types of credential can be: GLOBUS\_PROXY, GLOBUS\_USER, or GLOBUS\_HOST.*

**See also**

**Credential Handle Management**

## Author

*Generated automatically by Doxygen for globus\_gsi\_credential from the source code.*
