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


gsk_read_data_content()

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

Processes PKCS #7 Data content information.

Format

#include <gskcms.h>

gsk_status gsk_read_data_content (
                                  pkcs_content_info *        content_info,
                                  gsk_buffer *               data)

Parameters

content_info
Specifies the content information to be processed.
data
Returns the application data. The application should call the gsk_free_buffer() routine to release the data when it 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. These are some possible errors:

[CMSERR_CONTENT_NOT_SUPPORTED]
The content type is not Data.
[CMSERR_NO_MEMORY]
Insufficient storage is available.

Usage

The gsk_read_data_content() routine processes PKCS #7 (Cryptographic Message Syntax) Data content information created by the gsk_make_data_content() routine and returns the application data.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014