IBM 2 Computer Hardware User Manual


 
CCA Release 2.54 SET_Block_Decompose
Format
CSNDSBD
return_code Output Integer
reason_code Output Integer
exit_data_length In/Output Integer
exit_data In/Output String exit_data_length bytes
rule_array_count Input Integer one or two
rule_array Input String
array
rule_array_count * 8 bytes
RSA-OAEP_block_length Input Integer
RSA-OAEP_block Input String RSA-OAEP_block_length
bytes
DES_encrypted_data_block_length In/Output Integer
DES_encrypted_data_block Input String DES_encrypted_data_block_length
bytes
initialization_vector Input String 8 bytes
RSA_private_key_identifier_length Input Integer
RSA_private_key_identifier Input String RSA_private_key_identifier_length
bytes
DES_key_block_length In/Output Integer
DES_key_block In/Output String DES_key_block_length bytes
block_contents_identifier Output String 1 byte
XData_string_length In/Output Integer
XData_string Output String XData_string_length bytes
chaining__vector In/Output String 18 bytes
data_block Output String DES_encrypted_data_block_length
bytes
hash_block_length In/Output Integer
hash_block Output String hash_block_length bytes
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 or
two 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:
Keyword Meaning
Block type (required)
SET1.00 Specifies that the structure of the RSA-OAEP encrypted block
is defined by the S.E.T. 1.00 protocol.
PIN-block encryption (optional)
PINBLOCK Specifies that the OAEP block will contain PIN information in
the XDATA field, including an ISO-0 format PIN-block. The
PIN block is encrypted, using an IPINENC or OPINENC key
that is contained in the DES_key_block variable. The PIN
information and the encrypted PIN-block are returned in the
XData_string variable.
Chapter 8. Financial Services Support Verbs 8-71