iaik.tc.tss.impl.ps
Class TcTssPsFileSystem
java.lang.Object
iaik.tc.tss.impl.ps.TcTssPsFileSystem
- All Implemented Interfaces:
- TcITssPersistentStorage
- Direct Known Subclasses:
- TcTssSystemPsFileSystem, TcTssUserPsFileSystem
public abstract class TcTssPsFileSystem
- extends java.lang.Object
- implements TcITssPersistentStorage
Implements a basic file-system based persistent storage. As it only offers basic functionality,
it does not the protect the key blobs.
- Author:
- rtoegl, twinkler
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcTssPsFileSystem
public TcTssPsFileSystem(Properties properties)
registerKey
public void registerKey(TcTssUuid parentUuid,
TcTssUuid keyUuid,
TcBlobData key)
throws TcTssException
- Specified by:
registerKey in interface TcITssPersistentStorage
- Throws:
TcTssException
unregisterKey
public void unregisterKey(TcTssUuid keyUuid)
throws TcTssException
- Specified by:
unregisterKey in interface TcITssPersistentStorage
- Throws:
TcTssException
getRegisteredKeyBlob
public TcBlobData getRegisteredKeyBlob(TcTssUuid keyUuid)
throws TcTssException
- Specified by:
getRegisteredKeyBlob in interface TcITssPersistentStorage
- Throws:
TcTssException
getRegisteredKeyByPublicInfo
public TcBlobData getRegisteredKeyByPublicInfo(long algId,
TcBlobData pubKey)
throws TcTssException
- Specified by:
getRegisteredKeyByPublicInfo in interface TcITssPersistentStorage
- Throws:
TcTssException
enumRegisteredKeys
public TcTssKmKeyinfo[] enumRegisteredKeys(TcTssUuid keyUuid)
throws TcTssException
- Specified by:
enumRegisteredKeys in interface TcITssPersistentStorage
- Throws:
TcTssException
getRegisteredKey
public TcTssKmKeyinfo getRegisteredKey(TcTssUuid keyUuid)
throws TcTssException
- Description copied from interface:
TcITssPersistentStorage
- Returns information on a registered key.
- Specified by:
getRegisteredKey in interface TcITssPersistentStorage
- Parameters:
keyUuid - is the key to get information on
- Returns:
- ATTENTION: The isLoaded field of TcTssKmKeyinfo is always
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.
- Throws:
TcTssException