B_DestroyKeyObject
304 RSA BSAFE Crypto-C Library Reference Manual
B_DestroyKeyObject
Description
B_DestroyKeyObject destroys
keyObject
, zeroizing any sensitive information, freeing
the memory the key object occupied, and setting
keyObject
to (B_KEY_OBJ)NULL_PTR. If
keyObject
is already (B_KEY_OBJ)NULL_PTR or is not a valid key object, no action is
taken. See B_CreateKeyObject.
After this routine is called, all the pointers to information blocks returned by calls to
B_GetKeyInfo will no longer be valid, since the memory associated with those blocks
will have been zeroed and freed.
Return value
There is no return value.
void B_DestroyKeyObject (
B_KEY_OBJ *keyObject /* pointer to key object */
);