1Tspi_Key_ConvertMigrationBloLbi(b3r)ary Functions MaTnsupail_Key_ConvertMigrationBlob(3)
2
3
4
5                   TCG Software Stack Developer's Reference
6

NAME

8       Tspi_Key_ConvertMigrationBlob  -  create a wrapped key from a migration
9       blob
10

SYNOPSIS

12       #include <tss/platform.h>
13       #include <tss/tcpa_defines.h>
14       #include <tss/tcpa_typedef.h>
15       #include <tss/tcpa_struct.h>
16       #include <tss/tss_typedef.h>
17       #include <tss/tss_structs.h>
18       #include <tss/tspi.h>
19
20       TSS_RESULT Tspi_Key_ConvertMigrationBlob(TSS_HKEY hKeyToMigrate,         TSS_HKEY hParentKey,
21                                                UINT32   ulRandomLength,        BYTE*    rgbRandom,
22                                                UINT32   ulMigrationBlobLength, BYTE*    rgbMigrationBlob);
23
24
25

DESCRIPTION

27       Tspi_Key_ConvertMigrationBlob  takes  the  migration  blob   built   by
28       Tspi_Key_CreateMigrationBlob  using the migration scheme TSS_MS_MIGRATE
29       and creates a normal wrapped key. The resulting normal wrapped key blob
30       is  stored in the instance associated with hKeyToMigrate and may be re‐
31       trieved from that instance by Tspi_GetAttribData.
32
33

PARAMETERS

35   hKeyToMigrate
36       The handle of the key object to convert.
37
38   hParentKey
39       Handle to the parent key related to the key addressed by hKeyToMigrate.
40
41   ulRandomLength
42       Length of random data provided at the parameter rgbRandom.
43
44   rgbRandom
45       Random data as returned together with the migration blob by the  method
46       Tspi_Key_CreateMigrationBlob.
47
48   ulMigrationBlobLength
49       Length  of  the migration blob data provided at the parameter rgbMigra‐
50       tionBlob.
51
52   rgbMigrationBlob
53       Migration  blob  data  as  returned  by  a  previously  called   method
54       Tspi_Key_CreateMigrationBlob.
55
56

RETURN CODES

58       Tspi_Key_ConvertMigrationBlob returns TSS_SUCCESS on success, otherwise
59       one of the following values is returned:
60
61       TSS_E_INVALID_HANDLE
62              hKeyToMigrate or hParentKey is not a valid handle.
63
64
65       TSS_E_INTERNAL_ERROR
66              An internal SW error has been detected.
67
68
69       TSS_E_BAD_PARAMETER
70              One or more parameters is bad.
71
72

CONFORMING TO

74       Tspi_Key_ConvertMigrationBlob conforms to the Trusted  Computing  Group
75       Software Specification version 1.1 Golden
76
77

SEE ALSO

79       Tspi_Key_LoadKey(3),   Tspi_Key_UnloadKey(3),   Tspi_Key_CertifyKey(3),
80       Tspi_Key_CreateMigrationBlob(3).
81
82
83
84
85TSS 1.1                           2004-05-25  Tspi_Key_ConvertMigrationBlob(3)
Impressum