Reads a record from the PKDS and returns the content of the record. This is true even when the record contains a null PKA token.
The callable service name for AMODE(64) invocation is CSNFKRR.
CALL CSNDKRR(
return_code,
reason_code,
exit_data_length,
exit_data,
rule_array_count,
rule_array,
label,
token_length,
token)
| Direction | Type |
|---|---|
| Output | Integer |
The return code specifies the general result of the callable service. ICSF and cryptographic coprocessor return and reason codes lists the return codes.
| Direction | Type |
|---|---|
| Output | Integer |
The reason code specifies the result of the callable service that is returned to the application program. Each return code has different reason codes assigned to it that indicates specific processing problems. ICSF and cryptographic coprocessor return and reason codes lists the reason codes.
| Direction | Type |
|---|---|
| Input/Output | Integer |
The length of the data that is passed to the installation exit. The data is identified in the exit_data parameter.
| Direction | Type |
|---|---|
| Input/Output | String |
The data that is passed to the installation exit.
| Direction | Type |
|---|---|
| Input | Integer |
The number of keywords you are supplying in the rule_array parameter. This parameter is ignored by ICSF.
| Direction | Type |
|---|---|
| Input | String |
This parameter is ignored by ICSF.
| Direction | Type |
|---|---|
| Input | String |
The label of the record to be read. A 64 byte character string.
| Direction | Type |
|---|---|
| Input/Output | Integer |
The length of the area to which the record is to be returned. On successful completion of this service, token_length will contain the actual length of the record returned.
| Direction | Type |
|---|---|
| Output | String |
Area into which the returned record will be written. The area should be at least as long as the record.
To use this service, PKA callable services must be enabled for all RSA and DSS token types. For systems with CEX3C or later coprocessors, there is no PKA callable services control. The RSA master key must be valid to use this service.
While DSS tokens can be processed by this service, they are not useable by any other callable services.
To use this service for clear key ECC tokens, a current ECC master key is not required.
To use this service for encrypted key ECC tokens, the ECC master key must be valid.
No cryptographic hardware is required by this callable service.