Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
gsk_construct_private_key() z/OS Cryptographic Services System SSL Programming SC14-7495-00 |
|
Constructs
a private key from its component values.
Format
Parameters
ResultsThe 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:
UsageThe gsk_construct_private_key() function constructs the pkcs_private_key_info from the supplied private key components. The format of the supplied components is as stored in ICSF PKCS #11 tokens. Before calling the function, the application must initialize the size field in private_key_factors to the size of the gsk_private_key structure. It must also prime private_key_factors with the x509_algorithm_identifier, including appropriate private key components for the private key type being constructed. The x509_algorithm_identifier in private_key is set with the appropriate value for the private key type when returned. |
Copyright IBM Corporation 1990, 2014
|