|
||||||||||
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
iaik.tc.tss.impl.java.tsp.TcMonotonicCtr
public class TcMonotonicCtr
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. |
java.lang.Object[] |
createCtr(TcBlobData label)
This method creates the counter with the label provided. |
java.lang.Object |
incrementCtr()
This method increments a previously defined counter. |
long |
readCtr()
This method reads the counter value. |
void |
releaseCtr()
This method releases the counter. |
Methods inherited from class iaik.tc.tss.impl.java.tsp.TcAuthObject |
---|
changeAuthAsym, getPolicyObject, getUsagePolicyObject |
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.TcIAttributes |
---|
getAttribData, getAttribUint32, setAttribData, setAttribUint32 |
Methods inherited from interface iaik.tc.tss.api.tspi.TcIAuthObject |
---|
changeAuthAsym, getPolicyObject, getUsagePolicyObject |
Method Detail |
---|
public void releaseCtr() throws TcTssException
releaseCtr
in interface TcIMonotonicCtr
TcTssException
public java.lang.Object incrementCtr() throws TcTssException
incrementCtr
in interface TcIMonotonicCtr
TcTssException
public long readCtr() throws TcTssException
readCtr
in interface TcIMonotonicCtr
TcTssException
public java.lang.Object[] createCtr(TcBlobData label) throws TcTssException
TcIMonotonicCtr
createCtr
in interface TcIMonotonicCtr
label
- The label value used to identify this counter
TcTssException
public void changeAuth(TcIAuthObject parentObject, TcIPolicy newPolicy) throws TcTssException
TcIAuthObject
changeAuth
in interface TcIAuthObject
parentObject
- The parent object wrapping this object.newPolicy
- Policy object providing the new authorization data.
TcTssException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |