C# 클래스 Tpm2Lib.ObjectContextManager

파일 보기 프로젝트 열기: Microsoft/TSS.MSR 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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