IBM 2 Computer Hardware User Manual


 
CCA Release 2.54 SET_Block_Compose
Parameters
For the definitions of the return_code, reason_code, exit_data_length, and exit_data
parameters, see “Parameters Common to All Verbs” on page 1-11.
rule_array_count
The rule_array_count parameter is a pointer to an integer variable containing
the number of elements in the rule_array variable. The value must be one for
this verb.
rule_array
The rule_array parameter is a pointer to a string variable containing an array of
keywords. The keywords are eight bytes in length, and must be left-justified
and padded on the right with space characters. The rule_array keywords are
shown below:
block_contents_identifier
The block_contents_identifier parameter is a pointer to a string variable
containing a binary value that will be copied into the Block Contents (BC) field
of the SET DB data block. The BC field indicates what data is carried in the
Actual Data Block (ADB) and the format of any extra data (XData_string).
XData_string_length
The XData_string_length parameter is a pointer to an integer variable
containing the number of bytes of data in the XData_string variable. The
maximum length is 94 bytes.
XData_string
The XData_string parameter is a pointer to a string containing extra-encrypted
data within the OAEP-processed and RSA-encrypted block. If the
Xdata_string_length variable is zero, this parameter is ignored but must still be
declared.
data_to_encrypt_length
The data_to_encrypt_length parameter is a pointer to an integer variable
containing the number of bytes of data in the data_to_encrypt variable. The
maximum length is the same limit as on the Encipher service. On output, and if
the field is of sufficient length, the variable is updated with the actual length of
the DES-encrypted data block.
data_to_encrypt
The data_to_encrypt parameter is a pointer to a string variable containing the
data to be DES-encrypted with a single-use 64-bit DES key (generated by this
service). The data will first be padded by this service according to the PKCS
#5 padding rule before encryption.
data_to_hash_length
The data_to_hash_length parameter is a pointer to an integer variable
containing the number of bytes of data in the data_to_hash variable.
Keyword Meaning
Block type (required)
SET1.00 Specifies that the structure of the RSA-OAEP encrypted block
is defined by the SET protocol.
Chapter 8. Financial Services Support Verbs 8-67