iaik.tc.tss.impl.ps
Interface TcITssPersistentStorage

All Known Implementing Classes:
TcTssPsFileSystem, TcTssSystemPsFileSystem, TcTssUserPsFileSystem

public interface TcITssPersistentStorage


Method Summary
 TcTssKmKeyinfo[] enumRegisteredKeys(TcTssUuid keyUuid)
           
 TcTssKmKeyinfo getRegisteredKey(TcTssUuid keyUuid)
          Returns information on a registered key.
 TcBlobData getRegisteredKeyBlob(TcTssUuid keyUuid)
           
 TcBlobData getRegisteredKeyByPublicInfo(long algId, TcBlobData pubKey)
           
 void registerKey(TcTssUuid parentUuid, TcTssUuid keyUuid, TcBlobData key)
           
 void unregisterKey(TcTssUuid keyUuid)
           
 

Method Detail

registerKey

void registerKey(TcTssUuid parentUuid,
                 TcTssUuid keyUuid,
                 TcBlobData key)
                 throws TcTssException
Throws:
TcTssException

unregisterKey

void unregisterKey(TcTssUuid keyUuid)
                   throws TcTssException
Throws:
TcTssException

getRegisteredKeyBlob

TcBlobData getRegisteredKeyBlob(TcTssUuid keyUuid)
                                throws TcTssException
Throws:
TcTssException

getRegisteredKeyByPublicInfo

TcBlobData getRegisteredKeyByPublicInfo(long algId,
                                        TcBlobData pubKey)
                                        throws TcTssException
Throws:
TcTssException

enumRegisteredKeys

TcTssKmKeyinfo[] enumRegisteredKeys(TcTssUuid keyUuid)
                                    throws TcTssException
Throws:
TcTssException

getRegisteredKey

TcTssKmKeyinfo getRegisteredKey(TcTssUuid keyUuid)
                                throws TcTssException
Returns information on a registered key.

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