#include <qsydigid.h> void QsyRetrieveDigitalIDConfig (void *Receiver_variable, int Length_of_receiver_variable, char *Format_name, void *Error_code);Service Program: QSYDIGID
The Retrieve Digital ID Configuration Information (QsyRetrieveDigitalIDConfig) API will retrieve digital ID configuration information. This is the information that defines the Lightweight Directory Access Protocol (LDAP) server for where to store digital certificates, and connection information for the server.
Note: For the bind password to be returned, the user must have *USE, *ADD, and *UPD authorities to the validation list.
The receiver variable that receives the information requested. You can specify the size of the area to be smaller than the format requested as long as you specify the length parameter correctly. As a result, the API returns only the data that the area can hold.
The length of the receiver variable provided. The length of receiver variable parameter may be specified up to the size of the receiver variable specified in the user program. If the length of receiver variable parameter specified is larger than the allocated size of the receiver variable specified in the user program, the results are not predictable. The minimum length is 8 bytes.
The format of the configuration information to be returned.
The following format name may be used:
RDCI0100 | Digital ID configuration information. |
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
The following table describes the information that is returned in the receiver variable for the RDCI0100 format. For detailed descriptions of the fields, see Field Descriptions.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | BINARY(4) | Bytes returned |
4 | 4 | BINARY(4) | Bytes available |
8 | 8 | CHAR(1) | Enabled indicator |
9 | 9 | CHAR(1) | Use SSL indicator |
10 | 10 | CHAR(2) | Reserved |
12 | C | BINARY(4) | Port number |
16 | 10 | BINARY(4) | Offset to server name |
20 | 14 | BINARY(4) | Length of server name |
24 | 18 | BINARY(4) | Offset to directory DN |
28 | 1C | BINARY(4) | Length of directory DN |
32 | 20 | BINARY(4) | Offset to bind DN |
36 | 24 | BINARY(4) | Length of bind DN |
40 | 28 | BINARY(4) | Offset to bind password |
44 | 2C | BINARY(4) | Length of bind password |
CHAR(*) | Server name | ||
CHAR(*) | Directory DN | ||
CHAR(*) | Bind DN | ||
CHAR(*) | Bind password |
Bytes available. The number of bytes of data available to be returned. All available data is returned if enough space is provided.
Bytes returned. The number of bytes of data returned.
Bind DN. The Distinguished Name (DN) of the entry used when binding to the LDAP server.
Bind password. The password to use in association with the bind DN.
Directory DN. The DN for where in the LDAP server the user certificates are to be stored.
Enabled indicator. Specifies whether or not the configuration information is enabled for use.
0 | The configuration information is not enabled. Digital certificates for users will be stored locally. |
1 | The configuration information is enabled. If Enterprise Identity Mapping (EIM) is configured and operational, then digital certificates for users will be stored in LDAP and the mapping from the certificate to a user profile will be stored in EIM. |
Length of bind DN. The length of the field that contains the bind distinguished name (DN).
Length of bind password. The length of the field that contains the bind password.
Length of directory DN. The length of the field that contains the directory distinguished name (DN).
Length of server name. The length of the field that contains the server name.
Port number. The port number to use when connecting to the LDAP server.
Offset to bind DN. The offset to the field that contains the bind distinguished name (DN).
Offset to bind password. The offset to the field that contains the bind password.
Offset to directory DN. The offset to the field that contains the directory distinguished name (DN).
Offset to server name. The offset to the field that contains the server name.
Reserved. Reserved data.
Server name. The domain name of the LDAP server on which to store user certificates.
Use SSL indicator. Specifies whether or not Secure Sockets Layer (SSL) is used for secure access when connecting to the LDAP server.
0 | A secure connection using SSL is not used when connecting to the LDAP server. |
1 | A secure connection using SSL is used when connecting to the LDAP server. Digital Certificate Manager (DCM) must be used to assign a certificate to the IBM Directory Server client (QIBM_GLD_DIRSRV_CLIENT) application. |
Message ID | Error Message Text |
---|---|
CPFA0AA E | Error occurred while attempting to obtain space. |
CPF22F0 E | Unexpected errors occurred during processing. |
CPF3BFF E | Required option &1 is not available. |
CPF3CF1 E | Error code parameter not valid. |
CPF3C1D E | Length specified in parameter &1 not valid. |
CPF3C19 E | Error occurred with receiver variable specified. |
CPF3C21 E | Format name &1 is not valid. |
CPF3C24 E | Length of the receiver variable is not valid. |
CPF3C90 E | Literal value cannot be changed. |
CPF9802 E | Not authorized to object &2 in &3. |
CPF9803 E | Cannot allocate object &2 in library &3. |
CPF9804 E | Object &2 in library &3 damaged. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
Top | Security APIs | APIs by category |