1Tspi_Context_LoadKeyTBCyGUUSIoDf(t3w)are Stack Developer'sTRsepfie_rCeonncteext_LoadKeyByUUID(3)
2
3
4

NAME

6       Tspi_Context_LoadKeyByUUID  - load a key that's been registered in per‐
7       sistent storage.
8

SYNOPSIS

10       #include <tss/platform.h>
11       #include <tss/tcpa_defines.h>
12       #include <tss/tcpa_typedef.h>
13       #include <tss/tcpa_struct.h>
14       #include <tss/tss_typedef.h>
15       #include <tss/tss_structs.h>
16       #include <tss/tspi.h>
17
18       TSS_RESULT Tspi_Context_LoadKeyByUUID(TSS_HCONTEXT hContext, TSS_FLAG persistentStorageType,
19                                             TSS_UUID     uuidData, TSS_HKEY* phKey);
20
21
22

DESCRIPTION

24       TSS_Context_LoadKeyByUUID creates a key object based on the information
25       got from the manager using the UUID and loads the key into the TPM. The
26       persistent storage provides all information to load the parent keys re‐
27       quired to load the key associated with the given UUID.
28

PARAMETERS

30   hContext
31       The handle of the context object.
32
33   persistentStorageType
34       Flag indicating the persistent storage the key is registered in. Should
35       be either TSS_PS_TYPE_USER ot TSS_PS_TYPE_SYSTEM.
36
37   uuidData
38       The UUID of the key by which the key was registered in  the  persistent
39       storage (TSP or connected TCS).
40
41   phKey
42       Receives the handle of the key object representing the loaded key.
43

RETURN CODES

45       Tspi_Context_LoadKeyByUUID  returns  TSS_SUCCESS  on success, otherwise
46       one of the following values are returned:
47
48       TSS_E_INVALID_HANDLE - hContext is an invalid handle.
49
50       TSS_E_BAD_PARAMETER - persistentStorageType is not valid.
51
52       TSS_E_INTERNAL_ERROR
53              An error occurred internal to the TSS.
54

CONFORMING TO

56       Tspi_Context_LoadKeyByUUID conforms  to  the  Trusted  Computing  Group
57       Software Specification version 1.1 Golden
58

SEE ALSO

60       Tspi_Context_LoadKeyByBlob(3), Tspi_Key_LoadKey(3).
61
62
63
64TSS 1.1                           2004-05-26     Tspi_Context_LoadKeyByUUID(3)
Impressum