Previous Topic: KEYRING Keyword—Add a Key Ring to a UserNext Topic: KEYSMSTR Keyword—Define Password Key Name


KEYSIZE Keyword—Specify Key Size

Valid on z/OS.

Use the KEYSIZE keyword to specify the size of the private encryption key in decimal bits.

This keyword has the following format:

TSS REKEY(acid) KEYSIZE(nnnn) 
KEYSIZE

The maximum key size is dependent on the private key type.

Private key type maximum key sizes are:

Shorter ECC keys have key strengths comparable to longer RSA keys. The following table displays the comparable strength of each key type:

RSA Key Size (in bits)

NISTECC Key Size (in bits)

BPECC Key Size (in bits)

1024

192

160 or 192

2048

224

224

3072

256

256 or 320

7680

384

384

15360

521

512

Currently, the standard key sizes for RSA keys are as follows:

This keyword is used with:

Example: KEYSIZE keyword

This example creates low strength key:

TSS REKEY(user1) DIGICERT(cert0001)
                 NEWDIGIC(cert0002)
                 KEYSIZE(512)