|
- return_code
-
Direction: Output | Type: 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: Output | Type: 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: Ignored | Type: Integer |
This field is ignored. It is recommended to specify 0 for
this parameter.
- exit_data
-
Direction: Ignored | Type: String |
This field is ignored.
- rule_array_count
-
Direction: Input | Type: Integer | The number of keywords you supplied in the rule_array parameter.
This value must be 1 or 2.
- rule_array
-
Direction: Input | Type: String |
Keywords that provide control information to the callable
service.
Table 325. Keywords for wrap keyKeyword | Meaning |
---|
Formatting
Method (required) | PKCS-1.2 | RSA
PKCS #1 block type 02 will be used to format the key value. | PKCS-8 | The
private key values are DER encoded as specified by PKCS-8. The encryption
mechanism rule array keyword must be specified. |
- source_key_handle
-
Direction: Input | Type: String | The 44-byte handle of the secret key or private key object
to be wrapped.
- wrapping_key_handle
-
Direction: Input | Type: 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: Input | Type: 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: Input | Type: 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/Output | Type: 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: Output | Type: String | The wrapped key
|