z/OS Cryptographic Services ICSF Application Programmer's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Parameters

z/OS Cryptographic Services ICSF Application Programmer's Guide
SA22-7522-16

return_code
Direction: OutputType: Integer

The return code specifies the general result of the callable service. Appendix A. ICSF and TSS Return and Reason Codes lists the return codes.

reason_code
Direction: OutputType: 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 that indicate specific processing problems. Appendix A. ICSF and TSS Return and Reason Codes lists the reason codes.

exit_data_length
Direction: IgnoredType: Integer

This field is ignored. It is recommended to specify 0 for this parameter.

exit_data
Direction: IgnoredType: String

This field is ignored.

rule_array_count
Direction: InputType: Integer
The number of keywords you supplied in the rule_array parameter. This value must be 1 or 2.
rule_array
Direction: InputType: String

Keywords that provide control information to the callable service.

Table 325. Keywords for wrap key
KeywordMeaning
Formatting Method (required)
PKCS-1.2RSA PKCS #1 block type 02 will be used to format the key value.
PKCS-8The private key values are DER encoded as specified by PKCS-8. The encryption mechanism rule array keyword must be specified.
source_key_handle
Direction: InputType: String
The 44-byte handle of the secret key or private key object to be wrapped.
wrapping_key_handle
Direction: InputType: String
The 44-byte handle of the public key or secret key object to wrap the secret key. See Handles for the format of a wrapping_key_handle.
Initialization_vector_length
Direction: InputType: Integer
The length of the initialization_vector parameter. The initialization vector can only be used with PKCS-8. This parameter is ignored for PKCS-1.2. The length must match the key type of the wrapping key (8 for DES, DES2, DES3 and 16 for AES). If the length is zero, the initialization vector parameter is ignored and a value of zero is used.
Initialization_vector
Direction: InputType: String
The initial chaining value for symmetric encryption. The length must match the key type of the wrapping key. The initial value can only be used with PKCS-8. This parameter is ignored for PKCS-1.2.
wrapped_key_length
Direction: Input/OutputType: Integer
On input, the length of the wrapped_key parameter. On output, the actual length of the wrapped key returned in the wrapped_key parameter.
wrapped_key
Direction: OutputType: String
The wrapped key

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014