1Tspi_TPM_DAA_JoinStoreCredenLtiibarla(r3y)FunctionsTsMpain_uTaPlM_DAA_JoinStoreCredential(3)
2
3
4
5 TCG Software Stack Developer's Reference
6
8 Tspi_TPM_DAA_JoinStoreCredential - compute the final DAA Credential
9
11 #include <tss/tss_typedef.h>
12 #include <tss/tss_structs.h>
13 #include <tss/tspi.h>
14
15 TSS_RESULT Tspi_TPM_DAA_JoinStoreCredential(
16 TSS_HDAA hDAA,
17 TSS_HTPM hTPM,
18 TSS_DAA_CRED_ISSUER credIssuer,
19 TSS_DAA_JOIN_SESSION joinSession,
20 TSS_HKEY* hDaaCredential
21 );
22
23
24
26 Tspi_TPM_DAA_JoinStoreCredential is the last out of 3 functions (after
27 Tspi_TPM_DAA_JoinInit() and Tspi_TPM_DAA_JoinCreateDaaPubKey())
28 to execute in order to receive a DAA Credential. It verifies the is‐
29 sued credential from the DAA Issuer and computes the final DAA Creden‐
30 tial.
31
33 hDAA
34 The hDAA parameter is used to specify the handle of the DAA object.
35
36 hTPM
37 The hTPM parameter is the handle to the TPM object.
38
39 credIssuer
40 The credIssuer parameter is the DAA Credential issued by the DAA Issuer
41 including proof of correctness.
42
43 joinSession
44 The joinSession parameter is the structure containing the DAA Join ses‐
45 sion information.
46
47 hDaaCredential
48 The hDaaCredential parameter is the handle of the received DAA Creden‐
49 tial.
50
51
53 Tspi_TPM_DAA_JoinStoreCredential returns TSS_SUCCESS on success, other‐
54 wise one of the following values is returned:
55
56 TSS_E_INVALID_HANDLE
57 Either the DAA or the TPM handler is not valid.
58
59 TSS_E_BAD_PARAMETER
60
61 TSS_E_INTERNAL_ERROR
62 An internal SW error has been detected. TSS_E_DAA_CREDEN‐
63 TIAL_PROOF_ERROR One of the verification of the issued creden‐
64 tial failed
65
67 Tspi_TPM_DAA_JoinStoreCredential conforms to the Trusted Computing
68 Group Software Specification version 1.2
69
70
72 Tspi_TPM_DAA_JoinInit(3) Tspi_TPM_DAA_JoinCreateDaaPubKey(3)
73
74
75
76TSS 1.2 2006-09-04Tspi_TPM_DAA_JoinStoreCredential(3)