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


gsk_copy_certification_request()

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

Copies a PKCS #10 certification request.

Format

   #include <gskcms.h>

   gsk_status gsk_copy_certification_request (
                                               pkcs_cert_request *         in_request,
                                               pkcs_cert_request *         out_request)

Parameters

in_request
Specifies the source certification request.
out_request
Specifies the destination certification request. The application should call the gsk_free_certification_request() routine when the certification request 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_certification_request() routine will allocate the output certification request and then copy the input certification request to the output certification request. Storage for the base pkcs_cert_request structure is provided by the application.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014