IBM 2 Computer Hardware User Manual


 
CCA Release 2.54 PKA_Key_Token_Build
Restrictions
The RSA-OPT rule-array keyword is not supported with Version 2. Instead,
use keyword RSA-CRT to obtain a X'08' private-key section type.
The RSA key length is limited to the range of 512 to 2048 bits with specific
formats restricted to 1024 bits maximum.
When generating a key for use with ANSI X9.31 digital signatures, the
modulus-length (key-length) must be one of 1024, 1280, 1536, 1792, or 2048
bits.
Format
CSNDPKB
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
key_values_structure_length Input Integer
key_values_structure Input String key_values_structure_length
bytes
key_name_length Input Integer
key_name Input String key_name_length bytes
reserved_1_length Input Integer zero
reserved_1 Input String null
reserved_2_length Input Integer zero
reserved_2 Input String null
reserved_3_length Input Integer zero
reserved_3 Input String null
reserved_4_length Input Integer zero
reserved_4 Input String null
reserved_5_length Input Integer zero
reserved_5 Input String null
token_length In/Output Integer
token Output String token_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:
Chapter 3. RSA Key-Management 3-15