B_DestroyKeyObject

B_DestroyKeyObject

void B_DestroyKeyObject (

 

B_KEY_OBJ *keyObject

/* pointer to key object */

);

 

 

 

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.

3 0 4

R S A B S A F E C r y p t o - C L i b r a r y R e f e r e n c e M a n u a l

Page 314
Image 314
RSA Security 5 manual Void BDestroyKeyObject