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


Clear Key Import (CSNBCKI and CSNECKI)

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

Use the clear key import callable service to import a clear DATA key that is to be used to encipher or decipher data. This callable service can import only DATA keys. Clear key import accepts an 8-byte clear DATA key, enciphers it under the master key, and returns the encrypted DATA key in operational form in an internal key token.

If the clear key value does not have odd parity in the low-order bit of each byte, the service returns a warning value in the reason_code parameter. The callable service does not adjust the parity of the key.

Note:
To import 16-byte or 24-byte DATA keys, use the multiple clear key import callable service that is described in Multiple Clear Key Import (CSNBCKM and CSNECKM). The multiple clear key import service supports AES DATA keys.

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

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014