The handle that describes the module to performthis operation.
PublicKey (input)
The public key corresponding to the private keybeing sought.
PrivateKey (output)
A reference to the private key corresponding tothe public key.
DESCRIPTIONGiven a public key this function returns a reference to theprivate key. The private key and its associated passphrase can beused as an input to any function requiring a private key value. NOTESThe KeyData field of the CSSM_KEY structureis allocated by the CSP. The application is required to free this memoryusing the CSSM_FreeKey() (CSSM API), or CSP_FreeKey() (CSP SPI), function or with the memory functions registeredfor the CSPHandle. RETURN VALUEA CSSM_RETURN value indicating success or specifying a particularerror condition. The value CSSM_OK indicates success. All othervalues represent an error condition. ERRORSErrors are described in the CDSA Technical Standard.