z/OS Cryptographic Services ICSF Application Programmer's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Key Generate (CSNBKGN and CSNEKGN)

z/OS Cryptographic Services ICSF Application Programmer's Guide
SA22-7522-16

Use the key generate callable service to generate either one or two odd parity DES keys of any type. The keys can be single-length (8 bytes), double-length (16 bytes), or, in the case of DATA keys, triple-length (24 bytes). The callable service does not produce keys in clear form and all keys are returned in encrypted form. When two keys are generated, each key has the same clear value, although this clear value is not exposed outside the secure cryptographic feature.

Use the key generate callable service to generate an AES key of DATA type. The callable service does not produce AES keys in clear form and all AES keys are returned in encrypted form. Only one AES key is generated. It's clear value is not exposed outside the secure cryptographic feature.

The callable service name for AMODE (64) invocation is CSNEKGN.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014