Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
gsk_factor_public_key() z/OS Cryptographic Services System SSL Programming SC14-7495-00 |
|
Factorizes
a public key into 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_factor_public_key() function deconstructs the public key into its public key components, formatted for use with ICSF PKCS #11 tokens. Before calling the function, the application must initialize the size field in public_key_factors to the size of the gsk_public_key structure. It must also prime public_key with the appropriate public key to be factorized before calling the routine. The routine will return the factorized component of the public key in public_key_factors. The x509_algorithm_identifier is set with the appropriate value for the public key type when returned. |
Copyright IBM Corporation 1990, 2014
|