#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:
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)