Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
gsk_srb_initialize() z/OS Cryptographic Services System SSL Programming SC14-7495-00 |
|
Initializes SRB support. Format
Parameters
ResultsThe function return value will be
0 (GSK_OK) if no error is detected. Otherwise, it will be
one of the return codes listed in the gskssl.h include file.
These are some possible errors:
UsageThe gsk_srb_initialize() routine will initialize the SRB (Service Request Block) support. The application must be APF-authorized in order to use SRB mode. The gsk_srb_initialize() routine must be called after the gsk_initialize() routine and before any calls to the GSKSRBRD and GSKSRBWT routines. The SRB support provided by System SSL is a mode converter which allows an SSL read or write operation to be initiated in SRB mode but processed in TASK mode. This is necessary because SRB mode is not supported by many of the functions invoked by System SSL while processing a read or write request. The gsk_srb_initialize() routine creates a monitor thread and the first service thread. Additional threads are created as needed up to the maximum number of threads specified by the num_tasks parameter. The threads run in FIPS mode if FIPS mode was set by a call to gsk_fips_state_set(). These threads will be destroyed and SRB mode support will be terminated when the gsk_uninitialize() routine is called. See z/OS MVS Programming: Authorized Assembler Services Guide for more information about service request blocks. |
Copyright IBM Corporation 1990, 2014
|