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


gsk_copy_name()

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

Copies an X.509 name.

Format

   #include <gskcms.h>

   gsk_status gsk_copy_name (
                              x509_name *         in_name,
                              x509_name *         out_name)

Parameters

in_name
Specifies the source name.
out_name
Specifies the destination name. The application should call the gsk_free_name() routine when the name is no longer needed.

Results

The function return value will be 0 if no error is detected. Otherwise, it will be one of the return codes listed in the gskcms.h include file. This is a possible error:
[CMSERR_NO_MEMORY]
Insufficient storage is available.

Usage

The gsk_copy_name() routine will allocate the output name and then copy the input name to the output name. Storage for the base x509_name structure is provided by the caller.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014