RSA Security 5 Projection Television User Manual


 
Chapter 3 Key Info Types 271
KI_ExtendedToken
KI_ExtendedToken
Purpose:
This KI allows you to specify a software-based token form of a symmetric key. See
KI_KeypairToken for a token form of a public/private key pair.
Type of information this allows you to use:
software-based token forms of symmetric keys. Backward-compatible with KI_Token.
Format of info supplied to B_SetKeyInfo:
pointer to a KI_EXTENDED_TOKEN_INFO structure:
where
A_X509_ATTRIB_INFO is defined by:
and
A_SYMMETRIC_KEY_DEFINER is defined by:
typedef struct {
KI_TOKEN_INFO keyDataStruct;
A_X509_ATTRIB_INFO attributes;
} KI_EXTENDED_TOKEN_INFO;
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;
typedef struct {
unsigned int keyUsage;
unsigned int keyLengthInBytes;
UINT4 lifeTime;
unsigned int protectFlag;
} A_SYMMETRIC_KEY_DEFINER;