1Tspi_GetAttribData(3T)CG Software Stack Developer's ReferencTespi_GetAttribData(3)
2
3
4

NAME

6       Tspi_GetAttribData - get a non 32bit attribute of the object.
7

SYNOPSIS

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_GetAttribData(TSS_HOBJECT hObject, TSS_FLAG attribFlag,
18                                     TSS_FLAG    subFlag, UINT32*  pulAttribDataSize,
19                                     BYTE**      prgbAttribData);
20
21
22

DESCRIPTION

24       Tspi_GetAttribData   is used to get the value of a particular attribute
25       associated iwth a particular object where that attribute does not  hap‐
26       pen  to  be  a UINT32. The structure and size of the attribute data de‐
27       pends on the attribute.
28

PARAMETERS

30   hObject
31       Handle of the object where to retrieve the attribute.
32
33   attribFlag
34       Flag indicating the attribute to query.
35
36   subFlag
37       Sub flag indicating the attribute to query.
38
39   pulAttribDataSize
40       Recieves the length (in bytes) of the prgbAttribData parameter.
41
42   prgbAttribData
43       On successful completion of the command, this  parameter  points  to  a
44       buffer containing the actual data of the specified attribute.
45

RETURN CODES

47       Tspi_GetAttribData returns TSS_SUCCESS on success, otherwise one of the
48       following values are returned:
49
50       TSS_E_INVALID_HANDLE - Either hObject, attribFlag, or subFlag  are  in‐
51       valid.
52
53       TSS_E_ATTRIB_FLAG
54
55       TSS_E_ATTRIB_SUBFLAG
56
57       TSS_E_ATTRIB_DATA
58
59       TSS_E_BAD_PARAMETER
60
61       TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS.
62

CONFORMING TO

64       Tspi_GetAttribData  conforms  to  the  Trusted Computing Group Software
65       Specification version 1.1 Golden
66

SEE ALSO

68       Tspi_SetAttribData(3).
69
70
71
72
73
74
75TSS 1.1                           2004-05-26             Tspi_GetAttribData(3)
Impressum