C# Класс Tpm2Lib.ObjectContextManager

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ObjectContexts List

Открытые методы

Метод Описание
GetUseCount ( ) : System.UInt64

UseCount enables LRU key evictiction.

Remove ( ObjectContext c ) : void
RemoveAll ( ) : void
RemoveAll ( Tbs owner ) : void

Remove all contexts associated with a client (to support client disconnect).

Приватные методы

Метод Описание
CreateObjectContext ( Tbs owner, TpmHandle tpmHandle ) : ObjectContext
GetBestEvictionCandidate ( Tbs neededSlot, ObjectContext neededEntities ) : ObjectContext

Gets the best eviction candidate for entities of given type. May return NULL.

GetContext ( Tbs caller, TpmHandle callerHandle ) : ObjectContext
GetFreeHandle ( Tbs owner, TpmHandle tpmHandle ) : uint

This TBS returns a random handle value in the desired handle range (ugh).

NumFreeSlots ( Tbs neededSlot ) : int
ObjectContextManager ( ) : System
OwnerHandleInUse ( Tbs owner, uint ownerHandle ) : bool
TbsHandleFromTpmHandle ( uint tpmHandle ) : uint

Find the assiged TBS handle for a loaded TPM entity.

Описание методов

GetUseCount() публичный Метод

UseCount enables LRU key evictiction.
public GetUseCount ( ) : System.UInt64
Результат System.UInt64

Remove() публичный Метод

public Remove ( ObjectContext c ) : void
c ObjectContext
Результат void

RemoveAll() публичный Метод

public RemoveAll ( ) : void
Результат void

RemoveAll() публичный Метод

Remove all contexts associated with a client (to support client disconnect).
public RemoveAll ( Tbs owner ) : void
owner Tbs
Результат void

Описание свойств

ObjectContexts публичное свойство

public List ObjectContexts
Результат List