RSA Security 5 manual Void BGetKeyExtendedErrorInfo

Models: 5

1 376
Download 376 pages 51.16 Kb
Page 332
Image 332

B_GetKeyExtendedErrorInfo

B_GetKeyExtendedErrorInfo

void B_GetKeyExtendedErrorInfo (

 

B_KEY_OBJ keyObject,

/* key object */

ITEM

*errorDataItem,

/* returns pointer to */

 

 

/* error data and length of data */

POINTER

*AM;

/* Set to point at method table */

);

 

 

 

 

 

Description

B_GetKeyExtendedErrorInfo sets errorDataItem->datato point at the error data, and errorDataItem->lento the length in bytes of the error data. AM is optionally set by the hardware manufacturer; consult the documentation supplied by your hardware vendor for more information.

Notes:

A NULL extended error is indicated by a length of zero. The error data may in reality be a data structure that includes pointers to allocated memory. These allocations are cleaned up using an error destruction routine assigned during the creation of the extended error data.

Return value

There is no return value.

3 2 2

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 332
Image 332
RSA Security 5 manual Void BGetKeyExtendedErrorInfo