|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiaik.tc.tss.impl.java.tsp.TcAttributes
iaik.tc.tss.impl.java.tsp.TcWorkingObject
iaik.tc.tss.impl.java.tsp.TcAuthObject
public abstract class TcAuthObject
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 |
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)
Note: Policy objects are returned by reference. |
TcIPolicy |
getUsagePolicyObject()
Note: Policy objects are returned by reference. |
Methods inherited from class iaik.tc.tss.impl.java.tsp.TcAttributes |
---|
getAttribData, getAttribUint32, setAttribData, setAttribUint32 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface iaik.tc.tss.api.tspi.TcIAuthObject |
---|
changeAuth |
Method Detail |
---|
public void changeAuthAsym(TcIAuthObject parentObject, TcIRsaKey identKey, TcIPolicy newPolicy) throws TcTssException
TcIAuthObject
changeAuthAsym
in interface TcIAuthObject
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
public TcIPolicy getPolicyObject(long policyType) throws TcTssException
TcIAuthObject.getPolicyObject(long)
.
getPolicyObject
in interface TcIAuthObject
policyType
- The policy type to be returned (TSS_POLICY_*)
TcTssException
public TcIPolicy getUsagePolicyObject() throws TcTssException
TcIAuthObject.getUsagePolicyObject()
.
getUsagePolicyObject
in interface TcIAuthObject
TcTssException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |