|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TcIAuthObject
This class implements common methods for all auth objects. That are all those working objects that require authorization to be used. Amon those objects are e.g. the TPM, key or EncData objects.
Method Summary | |
---|---|
void |
changeAuth(TcIAuthObject parentObject,
TcIPolicy newPolicy)
This method changes the authorization data (secret) of an entity (object) and assigns the object to the newPolicy object. |
void |
changeAuthAsym(TcIAuthObject parentObject,
TcIRsaKey identKey,
TcIPolicy newPolicy)
This method changes the authorization data (secret) of an entity (object) utilizing the asymmetric change protocol and assigns the object to the newPolicy object. |
TcIPolicy |
getPolicyObject(long policyType)
This method returns the policy object currently assigned to a working object. |
TcIPolicy |
getUsagePolicyObject()
This method returns a policy object representing the usage policy currently assigned to the object. |
Method Detail |
---|
void changeAuth(TcIAuthObject parentObject, TcIPolicy newPolicy) throws TcTssException
parentObject
- The parent object wrapping this object.newPolicy
- Policy object providing the new authorization data.
TcTssException
void changeAuthAsym(TcIAuthObject parentObject, TcIRsaKey identKey, TcIPolicy newPolicy) throws TcTssException
parentObject
- The parent object wrapping this objectidentKey
- The identity key object required to proof the internally created temporary key.newPolicy
- The policy object providing the new authorization data.
TcTssException
TcIPolicy getPolicyObject(long policyType) throws TcTssException
policyType
- The policy type to be returned (TSS_POLICY_*)
TcTssException
TcIPolicy getUsagePolicyObject() throws TcTssException
TcTssException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |