Introduction to Library Functions Tspi_Context_GetCapability(3)
NAME
Tspi_Context_GetCapability - provide the capabilites of a
TSS Core Service, TSS Service Provider, or TPM.SYNOPSIS
#include
#include
#include
#include
#include
#include
#include
TSS_RESULT Tspi_Context_GetCapability(TSS_HCONTEXT hContext, TSS_FLAG capArea,
UINT32 ulSubCapLength, BYTE* rgbSubCap, UINT32* pulRespDataLength, BYTE** prgbRespData);DESCRIPTION
TSS_Context_GetCapability provides the capabilities of the
TSS Core Service or TSS Service ProviderPARAMETERS
hContext The handle of the context object. capArea Flag indicating the attribute to query. ulSubCapLength The length (in bytes) of the rgbSubCap parameter. rgbSubCap Data indicating the attribute to query. pulRespDataLengthRecieves the length (in bytes) of the prgbRespData parame-
ter. prgbRespData On successful completion of the command, this parameterpoints to a buffer containing the actual data of the speci-
fied capability. RETURN CODESTspi_Context_GetCapability returns TSS_SUCCESS on success,
otherwise one of the following values are returned:TSS_E_INVALID_HANDLE - hContext is an invalid
TSS_E_BAD_PARAMETER - One of the parameters
TSS 1.1 Last change: 2004-05-26 1
Introduction to Library Functions Tspi_Context_GetCapability(3)
TSS_E_INTERNAL_ERROR - An error occurred internal
CONFORMING TOTspi_Context_GetCapability conforms to the Trusted Computing
Group Software Specification version 1.1 GoldenSEE ALSO
(none).ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:__________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|____________________|_____________________________|_
| Availability | library/security/trousers ||____________________|_____________________________|_
| Interface Stability| Uncommitted ||____________________|____________________________|
NOTES Source for trousers is available at http://opensolaris.organd at http://sourceforge.net/projects/trousers. Documenta-
tion is available at file:///usr/share/man, and http://sourceforge.net/projects/trousers.TSS 1.1 Last change: 2004-05-26 2