1Tspi_Change_Auth(3)TCG Software Stack Developer's ReferenceTspi_Change_Auth(3)
2
3
4

NAME

6       Tspi_ChangeAuth - change the authorization data of an entity.
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_ChangeAuth(TSS_HOBJECT hObjectToChange, TSS_HOBJECT hParentObject,
18                                  TSS_HPOLICY hNewPolicy );
19
20
21

DESCRIPTION

23       Tspi_ChangeAuth   changes  the authorization data (secret) of an entity
24       (object) and assigns the object to the policy object. All classes using
25       secrets provide this method for changing their authorization data.
26

PARAMETERS

28   hObjectToChange
29       Handle of the object to change authorization for.
30
31   hParentObject
32       Handle  of  the parent object wrapping the object addressed by hObject‐
33       ToChange.
34
35   hNewPolicy
36       Handle of the policy object providing the new authorization data.
37

RETURN CODES

39       Tspi_ChangeAuth returns TSS_SUCCESS on  success,otherwise  one  of  the
40       following values are returned:
41
42       TSS_E_INVALID_HANDLE - Either hObjectToChange, or hParentObject are not
43       a valid handle.
44
45       TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS.
46
47

CONFORMING TO

49       Tspi_ChangeAuth conforms to the Trusted Computing Group Software Speci‐
50       fication version 1.1 Golden
51

SEE ALSO

53       Tspi_ChangeAuthAsym(3).
54
55
56
57
58
59
60TSS 1.1                           2004-05-26               Tspi_Change_Auth(3)
Impressum