iya-sts
    Preparing search index...

    Variable tpmMakeCredential

    tpmMakeCredential: (
        akName: any,
        ekPublicKey: any,
        seedBytes: any,
        secret: any,
        hash: any,
    ) => { credential: any; secret: any } = tpmMakeCredential

    Type Declaration

      • (
            akName: any,
            ekPublicKey: any,
            seedBytes: any,
            secret: any,
            hash: any,
        ): { credential: any; secret: any }
      • Performs TPM2_MakeCredential in software, for an RSA endorsement key.

        Parameters

        • akName: any

          the attestation key's Name

        • ekPublicKey: any

          the endorsement key

        • seedBytes: any

          the endorsement key's symmetric key size in bytes

        • secret: any

          what the TPM must give back

        • hash: any

          the Name's hash

        Returns { credential: any; secret: any }

        { credential, secret }, the TPM2B_ID_OBJECT and TPM2B_ENCRYPTED_SECRET contents