|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectiaik.tc.tss.impl.ps.TcTssPersistentStorage
public abstract class TcTssPersistentStorage
| Constructor Summary | |
|---|---|
TcTssPersistentStorage(Properties properties)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TcTssPersistentStorage(Properties properties)
| Method Detail |
|---|
public void registerKey(TcTssUuid parentUuid,
TcTssUuid keyUuid,
TcBlobData key)
throws TcTssException
TcITssPersistentStorage
registerKey in interface TcITssPersistentStorageparentUuid - the parent from the actual keykeyUuid - the UUID assigned to the key (has to be unique!)key - the key value
TcTssException - if registration failed
public void unregisterKey(TcTssUuid keyUuid)
throws TcTssException
TcITssPersistentStorage
unregisterKey in interface TcITssPersistentStoragekeyUuid - the UUID assigned to this key
TcTssException - if unregister key failed
public TcBlobData getRegisteredKeyBlob(TcTssUuid keyUuid)
throws TcTssException
TcITssPersistentStorage
getRegisteredKeyBlob in interface TcITssPersistentStoragekeyUuid - the UUID assigned to the desired key
TcTssException - if getting key blob failed
public TcBlobData getRegisteredKeyByPublicInfo(long algId,
TcBlobData pubKey)
throws TcTssException
TcITssPersistentStorage
getRegisteredKeyByPublicInfo in interface TcITssPersistentStoragealgId - the id describing the algorithm which belongs to the given keypubKey - the given public key
TcTssException
public TcTssKmKeyinfo[] enumRegisteredKeys(TcTssUuid keyUuid)
throws TcTssException
TcITssPersistentStorage
enumRegisteredKeys in interface TcITssPersistentStoragekeyUuid - the UUID of the desired key
TcTssException - if the keys cannot be read out correctly
public TcTssKmKeyinfo getRegisteredKey(TcTssUuid keyUuid)
throws TcTssException
TcITssPersistentStorage
getRegisteredKey in interface TcITssPersistentStoragekeyUuid - 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 | |||||||||