If you currently use the Common Cryptographic Architecture (CCA)
Services for OS/400® (5799-FRF),
you can migrate the keys in the key store file so that your Cryptographic
Coprocessor can use them. The Coprocessor uses the migrated keys with the
CCA Cryptographic Service Provider (CCA CSP, which is packaged as i5/OS™ Option
35).
Note: You cannot migrate all keys because the CCA Services supports
a wider range of key types than the Cryptographic Coprocessor. For example,
you cannot migrate keys that have had the prohibit-export bit in the control
vector set. Also, you cannot migrate any of the PKA keys in the CCA Services
because CCA Services provides public key algorithm (PKA) support that is
significantly different than that in the Cryptographic Coprocessor.
You
need to write two programs, in order to migrate your Data Encryption Standard
(DES) keys. The CCA defines the format of the external DES key tokens and
therefore is the same for both products. Optionally, there are two program
example Example:
EXPORTing keys], and Example: IMPORTing keys, which you can change and run
to migrate the key store files. The CCA defines the format of the external
DES key tokens and therefore is the same for both products.
Use the
EXPORT program in conjunction with the IMPORT program. This will migrate DES
keys from the IBM
® CCA
Services to your Cryptographic Coprocessor and CCA CSP. You should run the
EXPORT program first to generate a file that contains the necessary key information
in a secure, exportable form. You should then transfer the file to the target
server. You can then run the IMPORT program to import the keys from the file
into a key storage file that you have created. The key storage file to which
you want to import the keys must already exist before you run the program.
Note: If
you choose to use the program examples provided, change them to suit your
specific needs. For security reasons, IBM recommends that you individualize these
program examples rather than using the default values provided.
To
change the program examples, follow these steps.