IBM Computer Hardware 2 User Manual Page 226

  • Download
  • Add to my manuals
  • Print
  • Page
    / 508
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 225
PKA_Encrypt CCA Release 2.54
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:
clear_source_data_length
The clear_source_data_length parameter is a pointer to an integer variable
containing the number of bytes of data in the clear_source_data variable.
When using the PKCS-1.2 keyword, the maximum size allowed is 245 bytes
with a 2048-bit public key. When using the ZERO-PAD keyword, the maximum
size allowed is 256 bytes with a 2048-bit public key.
clear_source_data
The clear_source_data parameter is a pointer to a string variable containing the
input data to be encrypted.
data_structure_length
The data_structure_length parameter is a pointer to an integer variable
containing the number of bytes of data in the data_structure variable. This
value must be zero.
data_structure
The data_structure parameter is a pointer to a string variable. This variable is
currently ignored.
public_key_identifier_length
The public_key_identifier_length parameter is a pointer to an integer variable
containing the number of bytes of data in the public_key_identifier variable.
The maximum size allowed is 2500 bytes.
public_key_identifier
The public_key_identifier parameter is a pointer to a string variable containing
the RSA public-key token, or the label of an RSA public-key token in key
storage, used to encrypt the source data.
target_data_length
The target_data_length parameter is a pointer to an integer variable containing
the number of bytes of data in the target_data variable. On input, this variable
specifies the maximum permissible length of the result. On output, this verb
updates the variable to indicate the length of the returned data. The maximum
size allowed is 256 bytes. The data length will be the same as the size of the
public-key modulus.
Keyword Meaning
Format method (one required)
PKCS-1.2 Specifies the method found in RSA DSI PKCS #1 block type
02 documentation. In the RSA PKCS #1 v2.0 standard, RSA
terminology describes this as the RSAES-PKCS1-v1_5 format.
ZERO-PAD Places the supplied data in the low-order bit positions of a bit
string of the same length as the modulus. As required,
high-order bits are set to zero. Ciphers the resulting bit-string
with the public key.
5-76 IBM 4758 CCA Basic Services, Release 2.54, February 2005
Page view 225
1 2 ... 221 222 223 224 225 226 227 228 229 230 231 ... 507 508

Comments to this Manuals

No comments