Introduction to Library Functions Tspi_Change_Auth(3)
NAME
Tspi_ChangeAuth - change the authorization data of an
entity.SYNOPSIS
#include
#include
#include
#include
#include
#include
#include
TSS_RESULT Tspi_ChangeAuth(TSS_HOBJECT hObjectToChange, TSS_HOBJECT hParentObject,
TSS_HPOLICY hNewPolicy );
DESCRIPTION
Tspi_ChangeAuth changes the authorization data (secret) of
an entity (object) and assigns the object to the policy ob-
ject. All classes using secrets provide this method for changing their authorization data.PARAMETERS
hObjectToChange Handle of the object to change authorization for. hParentObject Handle of the parent object wrapping the object addressed by hObjectToChange. hNewPolicy Handle of the policy object providing the new authorization data. RETURN CODESTspi_ChangeAuth returns TSS_SUCCESS on success,otherwise one
of the following values are returned:TSS_E_INVALID_HANDLE -
Either hObjectToChange, or hParentObjectTSS_E_INTERNAL_ERROR - An error occurred internal
CONFORMING TOTspi_ChangeAuth 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_Change_Auth(3)
Tspi_ChangeAuthAsym(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