1Tspi_TPM_OwnerGetSRKPubKey(3L)ibrary Functions ManuaTlspi_TPM_OwnerGetSRKPubKey(3)
2
3
4
5                   TCG Software Stack Developer's Reference
6

NAME

8       Tspi_TPM_OwnerGetSRKPubKey - get public key of the SRK
9

SYNOPSIS

11       #include <tss/tspi.h>
12
13       TSS_RESULT Tspi_TPM_OwnerGetSRKPubKey(TSS_HTPM hTPM,
14                                             UINT32*  pulPubKeyLength,
15                                             BYTE**   prgbPubKey);
16
17
18

DESCRIPTION

20       Tspi_TPM_OwnerGetSRKPubKey returns the public key of the key object us‐
21       ing owner authorization.  This can only be used on 1.2 TPMs,  and  only
22       to return the public key of the SRK.
23
24

PARAMETERS

26   hTPM
27       The hTPM parameter is used to specify the handle of the TPM object.
28
29   pulPubKeyLength
30       The  pulPubKeyLength parameter is the length (in bytes) of the prgbPub‐
31       Key parameter.
32
33   prgbPubKey
34       The prgbPubKey parameter is the pointer to the memory block  containing
35       the public key blob retrieved for the key object referenced by hKey.
36
37

RETURN CODES

39       Tspi_TPM_OwnerGetSRKPubKey  returns  TSS_SUCCESS  on success, otherwise
40       one of the following values is returned:
41
42       TSS_E_INVALID_HANDLE
43              hTPM is not a valid handle.
44
45
46       TSS_E_BAD_PARAMETER
47              One or more parameters is bad.
48
49
50       TSS_E_INTERNAL_ERROR
51              An internal SW error has been detected.
52
53
54       TSS_E_TPM_UNSUPPORTED
55              The TPM is not version 1.2 or later - (Note: still  unimplement‐
56              ed)
57
58

CONFORMING TO

60       Tspi_TPM_OwnerGetSRKPubKey  conforms  to  the  Trusted  Computing Group
61       Software Specification version 1.2
62
63

SEE ALSO

65       Tspi_Context_FreeMemory(3), Tspi_Key_GetPubKey(3).
66
67
68
69
70TSS 1.1                           2007-07-19     Tspi_TPM_OwnerGetSRKPubKey(3)
Impressum