Introduction to Library Functions Tspi_Key_CertifyKey(3)
NAME
Tspi_Key_CertifyKey - sign a public key.
SYNOPSIS
#include
#include
#include
#include
#include
#include
#include
TSS_RESULT Tspi_Key_CertifyKey(TSS_HKEY hKey, TSS_HKEY hCertifyingKey,
TSS_VALIDATION* pValidationData);
DESCRIPTION
Tspi_Key_CertifyKey signs a public key.
PARAMETERS
hKey Handle of the key object to be loaded. hCertifyingKey Handle to the certifying key used to sign the addressed by hKey. pValidationDataPointer to a structure of the type TSS_VALIDATION. After
successful completion of the call the member rgbValidation-
Data of this structure contains the signature data of the command. The member prgbData of the structure points to abuffer containing a TCPA_CERTIFY_INFO data stream as speci-
fied within the TCPA 1.1b Main Specification. RETURN CODESTspi_Key_CertifyKey returns TSS_SUCCESS on success, other-
wise one of the following values are returned:TSS_E_INVALID_HANDLE - Either hKey or hCertifyingKey
TSS_E_BAD_PARAMETER
TSS_E_INTERNAL_ERROR - An error occurred internal
CONFORMING TOTspi_Key_CertifyKey conforms to the Trusted Computing Group
Software Specification version 1.1 GoldenSEE ALSO
TSS 1.1 Last change: 2004-05-26 1
Introduction to Library Functions Tspi_Key_CertifyKey(3)
Tspi_Key_CreateKey(3), Tspi_Key_WrapKey(3).
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