|
- 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 311. Keywords for public key verifyKeyword | Meaning |
---|
Mechanism
(One of the following must be specified) | RSA-ZERO | Mechanism
is RSA encryption or signature verification using zero-pad formatting | RSA-PKCS | Mechanism
is RSA encryption or signature verification using PKCS #1 v1.5 formatting |
- clear_value_length
-
Direction: Input | Type: Integer | The length of the clear_value parameter
- clear_value
-
Direction: Input | Type: String | For encrypt, this is the value to be encrypted. Otherwise
this is the signature is be verified.
- key_handle
-
Direction: Input | Type: String | The 44-byte handle of public key object. See Handles for
the format of a key_handle.
- cipher_value_length
-
Direction: Input/Output | Type: Integer | For encrypt, on input, this is the length of the cipher_value parameter
in bytes. On output, this is updated to be the actual length of the
text encrypted into the cipher_value parameter. For signature
verification, this is the length of the data to be verified (input
only).
- cipher_value
-
Direction: Input/Output | Type: String | For encrypt, this is the encrypted value (output only). For
signature verification, this is the data to be verified (input only).
For RSA-PKCS signature verification requests, the data to be verified
is expected to be a DER encoded DigestInfo structure. For
DSA and ECDSA signature verification requests, the data to be verified
is expected to be a SHA1, SHA224, SHA256, SHA384 or SHA512 digest.
|