1Tspi_Key_CertifyKey(T3C)G Software Stack Developer's ReferenTcsepi_Key_CertifyKey(3)
2
3
4
6 Tspi_Key_CertifyKey - sign a public key.
7
9 #include <tss/platform.h>
10 #include <tss/tcpa_defines.h>
11 #include <tss/tcpa_typedef.h>
12 #include <tss/tcpa_struct.h>
13 #include <tss/tss_typedef.h>
14 #include <tss/tss_structs.h>
15 #include <tss/tspi.h>
16
17 TSS_RESULT Tspi_Key_CertifyKey(TSS_HKEY hKey, TSS_HKEY hCertifyingKey,
18 TSS_VALIDATION* pValidationData);
19
20
22 Tspi_Key_CertifyKey signs a public key.
23
25 hKey
26 Handle of the key object to be loaded.
27
28 hCertifyingKey
29 Handle to the certifying key used to sign the addressed by hKey.
30
31 pValidationData
32 Pointer to a structure of the type TSS_VALIDATION. After successful
33 completion of the call the member rgbValidationData of this structure
34 contains the signature data of the command. The member prgbData of the
35 structure points to a buffer containing a TCPA_CERTIFY_INFO data stream
36 as specified within the TCPA 1.1b Main Specification.
37
39 Tspi_Key_CertifyKey returns TSS_SUCCESS on success, otherwise one of
40 the following values are returned:
41
42 TSS_E_INVALID_HANDLE - Either hKey or hCertifyingKey are invalid han‐
43 dles.
44
45 TSS_E_BAD_PARAMETER
46
47 TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS.
48
49
51 Tspi_Key_CertifyKey conforms to the Trusted Computing Group Software
52 Specification version 1.1 Golden
53
55 Tspi_Key_CreateKey(3), Tspi_Key_WrapKey(3).
56
57
58
59
60
61
62TSS 1.1 2004-05-26 Tspi_Key_CertifyKey(3)