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


gsk_strerror()

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

Return a text string for an SSL error code

Format

   #include <gskssl.h>

   const char * gsk_strerror ( 
                               gsk_status         error_code)

Parameters

error_code
Specifies an error code returned by a Secure Sockets layer (SSL) routine or by a Certificate Management Services (CMS) routine.

Results

The function return value is the address of the text string. The return value is always a valid text string address even when the error code is not recognized (the return value is the string "N/A" in this case).

Usage

The gsk_strerror() routine returns a text string describing an error code returned by an SSL (Secure Sockets layer) or CMS (Certificate Management Services) routine. The gsk_strerror() routine cannot be used to return a text string for an error code returned by one of the deprecated SSL routines. The text string must not be modified or released by the application program.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014