z/OS Cryptographic Services System SSL Programming
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


gsk_query_crypto_level()

z/OS Cryptographic Services System SSL Programming
SC14-7495-00

Returns the available cryptographic levels.

Format

#include <gskcms.h>

void gsk_query_crypto_level (
                             int *               cms_version,
                             int *               cms_release,
                             gsk_uint32 *        crypto_level)

Parameters

cms_version
Returns the runtime version number.
cms_release
Returns the runtime release number.
crypto_level
Returns the available cryptographic levels.

Results

The gsk_query_crypto_level() routine returns the System SSL run time version, release, and available cryptographic levels. The current System SSL run time is Version 4 Release 1. The cryptographic level is a bit mask as follows:

[GSK_CRYPTO_64]
Set if 64-bit encryption keys are supported.
[GSK_CRYPTO_128]
Set if 128-bit encryption keys are supported.
[GSK_CRYPTO_168]
Set if 168-bit encryption keys are supported.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014