|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TcITssPersistentStorage
Method Summary | |
---|---|
TcTssKmKeyinfo[] |
enumRegisteredKeys(TcTssUuid keyUuid)
Returns the whole key hierarchy of the given key i.e. |
TcTssKmKeyinfo |
getRegisteredKey(TcTssUuid keyUuid)
Returns information on a registered key. |
TcBlobData |
getRegisteredKeyBlob(TcTssUuid keyUuid)
Gets the key blob from the key described by this UUID |
TcBlobData |
getRegisteredKeyByPublicInfo(long algId,
TcBlobData pubKey)
TODO complete documentation Returns a key blob described by the given public key and its algorithm |
void |
registerKey(TcTssUuid parentUuid,
TcTssUuid keyUuid,
TcBlobData key)
Registers the key in persistent storage. |
void |
unregisterKey(TcTssUuid keyUuid)
Unregisters the key in persistent storage. |
Method Detail |
---|
void registerKey(TcTssUuid parentUuid, TcTssUuid keyUuid, TcBlobData key) throws TcTssException
parentUuid
- the parent from the actual keykeyUuid
- the UUID assigned to the key (has to be unique!)key
- the key value
TcTssException
- if registration failedvoid unregisterKey(TcTssUuid keyUuid) throws TcTssException
keyUuid
- the UUID assigned to this key
TcTssException
- if unregister key failedTcBlobData getRegisteredKeyBlob(TcTssUuid keyUuid) throws TcTssException
keyUuid
- the UUID assigned to the desired key
TcTssException
- if getting key blob failedTcBlobData getRegisteredKeyByPublicInfo(long algId, TcBlobData pubKey) throws TcTssException
algId
- the id describing the algorithm which belongs to the given keypubKey
- the given public key
TcTssException
TcTssKmKeyinfo[] enumRegisteredKeys(TcTssUuid keyUuid) throws TcTssException
keyUuid
- the UUID of the desired key
TcTssException
- if the keys cannot be read out correctlyTcTssKmKeyinfo getRegisteredKey(TcTssUuid keyUuid) throws TcTssException
keyUuid
- is the key to get information on
false
upon return, because the
persistent storage has no way of knowing what the key manager is actually doing. No vendor specific data is
given.
TcTssException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |