
KI_ExtendedToken
KI_ExtendedToken
Purpose:
This KI allows you to specify a
Type of information this allows you to use:
Format of info supplied to B_SetKeyInfo:
pointer to a KI_EXTENDED_TOKEN_INFO structure:
typedef struct {
KI_TOKEN_INFO keyDataStruct; A_X509_ATTRIB_INFO attributes;
}KI_EXTENDED_TOKEN_INFO;
where A_X509_ATTRIB_INFO is defined by:
typedef struct { |
|
|
A_SYMMETRIC_KEY_DEFINER externalSpecs; |
| |
unsigned char | *keyOID; | /* Currently unimplemented */ |
unsigned int | keyOIDLen; | /* Currently unimplemented */ |
unsigned long | dateOfBirth; | /* When the key was created. */ |
| /*This time stamp currently defaults to time () function */ |
}A_X509_ATTRIB_INFO;
and A_SYMMETRIC_KEY_DEFINER is defined by:
typedef struct { unsigned int keyUsage; unsigned int keyLengthInBytes;
UINT4 lifeTime; unsigned int protectFlag;
}A_SYMMETRIC_KEY_DEFINER;
C h a p t e r 3 K e y I n f o Ty p e s | 271 |