Written by Anthony Bussani based on the Trusted Computing Group Software Stack Specification Version 1.2
\\$1
.. ..
1 TCG Software Stack Developer's Reference
#include <tss/tss_typedef.h> #include <tss/tss_structs.h> #include <tss/tspi.h> "TSS_RESULT Tspi_TPM_DAA_JoinStoreCredential(" " TSS_HDAA " hDAA "," " TSS_HTPM " hTPM "," " TSS_DAA_CRED_ISSUER " credIssuer "," " TSS_DAA_JOIN_SESSION " joinSession "," " TSS_HKEY* " hDaaCredential ");"
\Tspi_TPM_DAA_JoinStoreCredential is the last out of 3 functions (after Tspi_TPM_DAA_JoinInit() and Tspi_TPM_DAA_JoinCreateDaaPubKey()) to execute in order to receive a DAA Credential. It verifies the issued credential from the DAA Issuer and computes the final DAA Credential.
Tspi_TPM_DAA_JoinStoreCredential returns TSS_SUCCESS on success, otherwise one of the following values is returned:
TSS_E_INVALID_HANDLE Either the DAA or the TPM handler is not valid.
TSS_E_BAD_PARAMETER
TSS_E_INTERNAL_ERROR An internal SW error has been detected. TSS_E_DAA_CREDENTIAL_PROOF_ERROR One of the verification of the issued credential failed
Tspi_TPM_DAA_JoinStoreCredential conforms to the Trusted Computing Group Software Specification version 1.2
Tspi_TPM_DAA_JoinInit(3) Tspi_TPM_DAA_JoinCreateDaaPubKey(3)