Метод | Описание | |
---|---|---|
GetFirmwareVersionEx ( ) : uint[] | ||
GetPcrProperty ( |
||
GetProperty ( |
||
GetTpmInfo ( Tpm2 tpm, string &manufacturer, uint &year, uint &dayOfYear ) : void |
Get the date of the specification from which the TPM was built.
|
|
StartAuthSessionEx ( TpmHandle boundEntity, TpmSe sessionType, TpmAlgId authHash, SessionAttr initialialAttrs = SessionAttr.ContinueSession, SymDef symDef = null, int nonceCallerSize ) : AuthSession |
Create a simple bound but unseeded session.
|
|
StartAuthSessionEx ( TpmSe sessionType, TpmAlgId authHash, SessionAttr initialialAttrs, SymDef symDef, int nonceCallerSize ) : AuthSession |
Create a simple unbound & unseeded session supporting session encryption.
|
|
StartAuthSessionEx ( TpmSe sessionType, TpmAlgId authHash, SessionAttr initialialAttrs, int nonceCallerSize ) : AuthSession |
Create a simple unbound & unseeded session.
|
|
StartAuthSessionEx ( TpmSe sessionType, TpmAlgId authHash, int nonceCallerSize ) : AuthSession |
Create a simple unbound & unseeded session.
|
Метод | Описание | |
---|---|---|
ActivateCredential ( |
||
Certify ( |
||
CertifyCreation ( |
||
ChangeEPS ( |
||
ChangePPS ( |
||
Clear ( |
||
ClearControl ( |
||
ClockRateAdjust ( |
||
ClockSet ( |
||
Commit ( |
||
ContextLoad ( |
||
ContextSave ( |
||
Create ( |
||
CreateAsync ( |
||
CreateLoaded ( |
||
CreatePrimary ( |
||
CreatePrimaryAsync ( |
||
DictionaryAttackLockReset ( |
||
DictionaryAttackParameters ( |
||
Duplicate ( |
||
EcEphemeral ( EccCurve curveID, [ counter ) : |
||
EccParameters ( EccCurve curveID ) : |
||
EcdhKeyGen ( |
||
EcdhZGen ( |
||
EncryptDecrypt ( |
||
EventSequenceComplete ( |
||
EvictControl ( |
||
FieldUpgradeData ( byte fuData, [ firstDigest ) : |
||
FieldUpgradeStart ( |
||
FirmwareRead ( uint sequenceNumber ) : byte[] | ||
FlushContext ( |
||
GetCapability ( Cap capability, uint property, uint propertyCount, [ capabilityData ) : byte | ||
GetCommandAuditDigest ( |
||
GetRandom ( ushort bytesRequested ) : byte[] | ||
GetSessionAuditDigest ( |
||
GetTestResult ( [ testResult ) : byte[] | ||
GetTime ( |
||
Hash ( byte data, TpmAlgId hashAlg, TpmHandle hierarchy, [ validation ) : byte[] | ||
HashSequenceStart ( byte auth, TpmAlgId hashAlg ) : TpmHandle | ||
HierarchyChangeAuth ( TpmHandle authHandle, byte newAuth ) : void | ||
HierarchyControl ( TpmHandle authHandle, TpmHandle enable, byte state ) : void | ||
Hmac ( TpmHandle handle, byte buffer, TpmAlgId hashAlg ) : byte[] | ||
HmacStart ( TpmHandle handle, byte auth, TpmAlgId hashAlg ) : TpmHandle | ||
Import ( TpmHandle parentHandle, byte encryptionKey, TpmPublic objectPublic, TpmPrivate duplicate, byte inSymSeed, SymDefObject symmetricAlg ) : TpmPrivate | ||
IncrementalSelfTest ( TpmAlgId toTest ) : TpmAlgId[] | ||
Load ( TpmHandle parentHandle, TpmPrivate inPrivate, TpmPublic inPublic ) : TpmHandle | ||
LoadExternal ( Sensitive inPrivate, TpmPublic inPublic, TpmHandle hierarchy ) : TpmHandle | ||
MakeCredential ( TpmHandle handle, byte credential, byte objectName, [ secret ) : byte[] | ||
NvCertify ( TpmHandle signHandle, TpmHandle authHandle, TpmHandle nvIndex, byte qualifyingData, ISigSchemeUnion inScheme, ushort size, ushort offset, [ signature ) : byte[] | ||
NvChangeAuth ( TpmHandle nvIndex, byte newAuth ) : void | ||
NvDefineSpace ( TpmHandle authHandle, byte auth, NvPublic publicInfo ) : void | ||
NvExtend ( TpmHandle authHandle, TpmHandle nvIndex, byte data ) : void | ||
NvGlobalWriteLock ( TpmHandle authHandle ) : void | ||
NvIncrement ( TpmHandle authHandle, TpmHandle nvIndex ) : void | ||
NvRead ( TpmHandle authHandle, TpmHandle nvIndex, ushort size, ushort offset ) : byte[] | ||
NvReadLock ( TpmHandle authHandle, TpmHandle nvIndex ) : void | ||
NvReadPublic ( TpmHandle nvIndex, [ nvName ) : NvPublic | ||
NvSetBits ( TpmHandle authHandle, TpmHandle nvIndex, ulong bits ) : void | ||
NvUndefineSpace ( TpmHandle authHandle, TpmHandle nvIndex ) : void | ||
NvUndefineSpaceSpecial ( TpmHandle nvIndex, TpmHandle platform ) : void | ||
NvWrite ( TpmHandle authHandle, TpmHandle nvIndex, byte data, ushort offset ) : void | ||
NvWriteLock ( TpmHandle authHandle, TpmHandle nvIndex ) : void | ||
ObjectChangeAuth ( TpmHandle objectHandle, TpmHandle parentHandle, byte newAuth ) : TpmPrivate | ||
PcrAllocate ( TpmHandle authHandle, PcrSelection pcrAllocation, [ maxPCR, [ sizeNeeded, [ sizeAvailable ) : byte | ||
PcrEvent ( TpmHandle pcrHandle, byte eventData ) : TpmHash[] | ||
PcrExtend ( TpmHandle pcrHandle, TpmHash digests ) : void | ||
PcrRead ( PcrSelection pcrSelectionIn, [ pcrSelectionOut, [ pcrValues ) : uint | ||
PcrReset ( TpmHandle pcrHandle ) : void | ||
PcrSetAuthPolicy ( TpmHandle authHandle, byte authPolicy, TpmAlgId hashAlg, TpmHandle pcrNum ) : void | ||
PcrSetAuthValue ( TpmHandle pcrHandle, byte auth ) : void | ||
PolicyAuthValue ( TpmHandle policySession ) : void | ||
PolicyAuthorize ( TpmHandle policySession, byte approvedPolicy, byte policyRef, byte keySign, TkVerified checkTicket ) : void | ||
PolicyAuthorizeNV ( TpmHandle authHandle, TpmHandle nvIndex, TpmHandle policySession ) : void | ||
PolicyCommandCode ( TpmHandle policySession, TpmCc code ) : void | ||
PolicyCounterTimer ( TpmHandle policySession, byte operandB, ushort offset, Eo operation ) : void | ||
PolicyCpHash ( TpmHandle policySession, byte cpHashA ) : void | ||
PolicyDuplicationSelect ( TpmHandle policySession, byte objectName, byte newParentName, byte includeObject ) : void | ||
PolicyGetDigest ( TpmHandle policySession ) : byte[] | ||
PolicyLocality ( TpmHandle policySession, LocalityAttr locality ) : void | ||
PolicyNV ( TpmHandle authHandle, TpmHandle nvIndex, TpmHandle policySession, byte operandB, ushort offset, Eo operation ) : void | ||
PolicyNameHash ( TpmHandle policySession, byte nameHash ) : void | ||
PolicyNvWritten ( TpmHandle policySession, byte writtenSet ) : void | ||
PolicyOR ( TpmHandle policySession, Tpm2bDigest pHashList ) : void | ||
PolicyPCR ( TpmHandle policySession, byte pcrDigest, PcrSelection pcrs ) : void | ||
PolicyPassword ( TpmHandle policySession ) : void | ||
PolicyPhysicalPresence ( TpmHandle policySession ) : void | ||
PolicyRestart ( TpmHandle sessionHandle ) : void | ||
PolicySecret ( TpmHandle authHandle, TpmHandle policySession, byte nonceTPM, byte cpHashA, byte policyRef, int expiration, [ policyTicket ) : byte[] | ||
PolicySigned ( TpmHandle authObject, TpmHandle policySession, byte nonceTPM, byte cpHashA, byte policyRef, int expiration, ISignatureUnion auth, [ policyTicket ) : byte[] | ||
PolicyTemplate ( TpmHandle policySession, byte templateHash ) : void | ||
PolicyTicket ( TpmHandle policySession, byte timeout, byte cpHashA, byte policyRef, byte authName, TkAuth ticket ) : void | ||
PpCommands ( TpmHandle auth, TpmCc setList, TpmCc clearList ) : void | ||
Quote ( TpmHandle signHandle, byte qualifyingData, ISigSchemeUnion inScheme, PcrSelection PCRselect, [ signature ) : byte[] | ||
ReadClock ( ) : TimeInfo | ||
ReadPublic ( TpmHandle objectHandle, [ name, [ qualifiedName ) : TpmPublic | ||
Rewrap ( TpmHandle oldParent, TpmHandle newParent, TpmPrivate inDuplicate, byte name, byte inSymSeed, [ outSymSeed ) : TpmPrivate | ||
RsaDecrypt ( TpmHandle keyHandle, byte cipherText, IAsymSchemeUnion inScheme, byte label ) : byte[] | ||
RsaEncrypt ( TpmHandle keyHandle, byte message, IAsymSchemeUnion inScheme, byte label ) : byte[] | ||
SelfTest ( byte fullTest ) : void | ||
SequenceComplete ( TpmHandle sequenceHandle, byte buffer, TpmHandle hierarchy, [ validation ) : byte[] | ||
SequenceUpdate ( TpmHandle sequenceHandle, byte buffer ) : void | ||
SetAlgorithmSet ( TpmHandle authHandle, uint algorithmSet ) : void | ||
SetCommandCodeAuditStatus ( TpmHandle auth, TpmAlgId auditAlg, TpmCc setList, TpmCc clearList ) : void | ||
SetPrimaryPolicy ( TpmHandle authHandle, byte authPolicy, TpmAlgId hashAlg ) : void | ||
Shutdown ( Su shutdownType ) : void | ||
Sign ( TpmHandle keyHandle, byte digest, ISigSchemeUnion inScheme, TkHashcheck validation ) : ISignatureUnion | ||
SignAsync ( TpmHandle keyHandle, byte digest, ISigSchemeUnion inScheme, TkHashcheck validation ) : Task |
||
StartAuthSession ( TpmHandle tpmKey, TpmHandle bind, byte nonceCaller, byte encryptedSalt, TpmSe sessionType, SymDef symmetric, TpmAlgId authHash, [ nonceTPM ) : TpmHandle | ||
Startup ( Su startupType ) : void | ||
StirRandom ( byte inData ) : void | ||
TestParms ( IPublicParmsUnion parameters ) : void | ||
Unseal ( TpmHandle itemHandle ) : byte[] | ||
VendorTcgTest ( byte inputData ) : byte[] | ||
VerifySignature ( TpmHandle keyHandle, byte digest, ISignatureUnion signature ) : TkVerified | ||
ZGen2Phase ( TpmHandle keyA, EccPoint inQsB, EccPoint inQeB, TpmAlgId inScheme, ushort counter, [ outZ2 ) : EccPoint |
public static GetPcrProperty ( |
||
tpm | ||
prop | PtPcr | |
Результат | byte[] |
public static GetProperty ( |
||
tpm | ||
prop | Pt | |
Результат | uint |
public static GetTpmInfo ( Tpm2 tpm, string &manufacturer, uint &year, uint &dayOfYear ) : void | ||
tpm | Tpm2 | |
manufacturer | string | |
year | uint | |
dayOfYear | uint | |
Результат | void |
public StartAuthSessionEx ( TpmHandle boundEntity, TpmSe sessionType, TpmAlgId authHash, SessionAttr initialialAttrs = SessionAttr.ContinueSession, SymDef symDef = null, int nonceCallerSize ) : AuthSession | ||
boundEntity | TpmHandle | |
sessionType | TpmSe | |
authHash | TpmAlgId | |
initialialAttrs | SessionAttr | |
symDef | SymDef | |
nonceCallerSize | int | |
Результат | AuthSession |
public StartAuthSessionEx ( TpmSe sessionType, TpmAlgId authHash, SessionAttr initialialAttrs, SymDef symDef, int nonceCallerSize ) : AuthSession | ||
sessionType | TpmSe | |
authHash | TpmAlgId | |
initialialAttrs | SessionAttr | |
symDef | SymDef | |
nonceCallerSize | int | |
Результат | AuthSession |
public StartAuthSessionEx ( TpmSe sessionType, TpmAlgId authHash, SessionAttr initialialAttrs, int nonceCallerSize ) : AuthSession | ||
sessionType | TpmSe | |
authHash | TpmAlgId | |
initialialAttrs | SessionAttr | |
nonceCallerSize | int | |
Результат | AuthSession |
public StartAuthSessionEx ( TpmSe sessionType, TpmAlgId authHash, int nonceCallerSize ) : AuthSession | ||
sessionType | TpmSe | |
authHash | TpmAlgId | |
nonceCallerSize | int | |
Результат | AuthSession |