Tspi_TPM_D...Credential(3)

πŸ“¦ version 11.0, in nixpkgs unstable

πŸ’– Tspi_TPM_DAA_JoinStoreCredential πŸ’–

Okay bestie, welcome to this page from the Library Functions Manual β€” also known from the TCG Software Stack Developer's Reference β€” page Tspi_TPM_D...Credential(3). The main character is Tspi_TPM_DAA_JoinStoreCredential, and yes, she is iconic. ✨


🌸 NAME 🌸

Tspi_TPM_DAA_JoinStoreCredential β€” compute the final DAA Credential. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

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

✨ DESCRIPTION ✨

So 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. No cap, that's the whole glow-up. πŸ”₯

πŸ‘‘ PARAMETERS πŸ‘‘

hDAA

The hDAA parameter is used to specify the handle of the DAA object. πŸŽ€

hTPM

The hTPM parameter is the handle to the TPM object. πŸ’–

credIssuer

The credIssuer parameter is the DAA Credential issued by the DAA Issuer including proof of correctness. πŸ¦‹

joinSession

The joinSession parameter is the structure containing the DAA Join session information. 🌸

hDaaCredential

The hDaaCredential parameter is the handle of the received DAA Credential. πŸ‘‘

πŸ’€ RETURN CODES πŸ’€

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 β€” this code is listed here, bestie; the page doesn't give it an extra description. πŸ™ˆ
  • 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. 🫠

🌈 CONFORMING TO 🌈

Tspi_TPM_DAA_JoinStoreCredential conforms to the Trusted Computing Group Software Specification version 1.2. ⭐

πŸŽ€ SEE ALSO πŸŽ€


πŸ’– cute little sign-off: this page is from TSS 1.2, dated 2006-09-04, and lives under Tspi_TPM_D...Credential(3). bye bestie! πŸ’…βœ¨
πŸ“¦ where this page comes from