Introduction to Library Functions
Tspi_TPM_CollateIdentityRequest(3)
NAME
Tspi_TPM_CollateIdentityRequest - Gets all the informatin
necessary to send to a trusted third party (TTP), repartory to asking the TTP to create a certificate for identity.SYNOPSIS
#include
#include
#include
#include
#include
#include
#include
TSS_RESULT Tspi_TPM_CollateIdentityRequest(TSS_HTPM hTPM, TSS_HKEY hKeySRK,
TSS_HKEY hCAPPubKey,
UINT32 ulIdentityLabelData, BYTE* rgbIdentityLabelData,TSS_HKEY hIdentityKey, TSS_ALGORITHM_ID algid,
UINT32* pulTCPAIdentityReqLength, BYTE** prgbTCPAIdentityReq);DESCRIPTION
TSS_TPM_CollateIdentityRequest creates an identity key,
binds it to the label and returns a certificate request package. The privacty CA requires this certificate request to attest the identity key. Only the Owner of the TPM has the privledge of creating a TPM identity key.The symmetric session key is required to provide confiden-
tiality of the "TCPA_IDENTITY_REQ" data structure, which
should be sent to the Privacy CA chosen by the owner.PARAMETERS
hTPM Handle of the TPM object. hKeySRK Handle to the key object representing the Storage Root Key hCAPubKey Handle to the key object representing the public key of the CA which signs the certificate of the created identity key. ulIdentityLabelLength Supplies the length (in bytes) of the rgbIdentityLabelData parameterTSS 1.1 Last change: 2004-05-26 1
Introduction to Library FunctionsTspi_TPM_CollateIdentityRequest(3)
rgbLabelData Pointer to a memory block containing the identity label, which should be a UNICODE string hIdentityKey Handle to the identity key object algid The type of symmetric algorithm touse as requred by the Enhanced CA. pulTCPAIdentityReqLength Recieves the length (in bytes) of the prgbTCPAIdentityReq parameter prgbTCPAIdentyReqPointer to the memory block containing the certicficate re-
quest structure. RETURN CODESTspi_TPM_CollateIdentityRequest returns TSS_SUCCESS on suc-
cess, otherwise one of the following values are returned:TSS_E_INVALID_HANDLE
Either hTPM or hKeySRK or hCAPubKey is not a valid han-
dle.TSS_E_BAD_PARAMETER
TSS_E_INTERNAL_ERROR
An error occurred internal to the TSS. CONFORMING TOTspi_TPM_CollateIdentityRequest conforms to the Trusted Com-
puting Group Software Specification version 1.1 GoldenSEE ALSO
Tspi_Context_LoadKeyByUUID(3).
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:TSS 1.1 Last change: 2004-05-26 2
Introduction to Library FunctionsTspi_TPM_CollateIdentityRequest(3)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|____________________|_____________________________|_
| Availability | library/security/trousers ||____________________|_____________________________|_
| Interface Stability| Uncommitted ||____________________|____________________________|
NOTES Source for trousers is available at http://opensolaris.organd at http://sourceforge.net/projects/trousers. Documenta-
tion is available at file:///usr/share/man, and http://sourceforge.net/projects/trousers.TSS 1.1 Last change: 2004-05-26 3
Introduction to Library FunctionsTspi_TPM_CollateIdentityRequest(3)
TSS 1.1 Last change: 2004-05-26 4