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


gsk_read_wrapped_content()

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

Processes wrapped content information.

Format

#include <gskcms.h>

gsk_status gsk_read_wrapped_content (
                                     pkcs_content_info *           wrapped_content,
                                     pkcs_content_info *           content_info)

Parameters

wrapped_content
Specifies the wrapped content information.
content_info
Returns the content information. The application should call the gsk_free_content_info() routine to release the content information 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 supported.
[CMSERR_NO_MEMORY]
Insufficient storage is available.

Usage

The gsk_read_wrapped_content() routine processes an ASN.1 sequence containing encoded content information and returns the unwrapped content information.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014