Class TpmCollector
Inheritance
System.Object
TpmCollector
Assembly: AsaLib.dll
Syntax
public class TpmCollector : BaseCollector, IPlatformRunnable
Constructors
|
Improve this Doc
View Source
TpmCollector(CollectorOptions, Nullable<Action<CollectObject>>, Boolean)
Declaration
public TpmCollector(CollectorOptions opts, Action<CollectObject>? changeHandler, bool TestMode = false)
Parameters
Properties
|
Improve this Doc
View Source
TestMode
Declaration
public bool TestMode { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
|
Improve this Doc
View Source
Declaration
public override bool CanRunOnPlatform()
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
DumpNV(Tpm2)
Declaration
public static List<AsaNvIndex> DumpNV(Tpm2 tpm)
Parameters
| Type |
Name |
Description |
| Tpm2 |
tpm |
|
Returns
|
Improve this Doc
View Source
DumpPCRs(Tpm2)
Declaration
public static Dictionary<(TpmAlgId, uint), byte[]> DumpPCRs(Tpm2 tpm)
Parameters
| Type |
Name |
Description |
| Tpm2 |
tpm |
|
Returns
| Type |
Description |
| Dictionary<System.ValueTuple<TpmAlgId, System.UInt32>, System.Byte[]> |
|
|
Improve this Doc
View Source
DumpPCRs(Tpm2, TpmAlgId, PcrSelection[])
Declaration
public static Dictionary<(TpmAlgId, uint), byte[]> DumpPCRs(Tpm2 tpm, TpmAlgId tpmAlgId, PcrSelection[] pcrs)
Parameters
| Type |
Name |
Description |
| Tpm2 |
tpm |
|
| TpmAlgId |
tpmAlgId |
|
| PcrSelection[] |
pcrs |
|
Returns
| Type |
Description |
| Dictionary<System.ValueTuple<TpmAlgId, System.UInt32>, System.Byte[]> |
|
|
Improve this Doc
View Source
DumpPersistentKeys(Tpm2)
Declaration
public static List<CryptographicKeyObject> DumpPersistentKeys(Tpm2 tpm)
Parameters
| Type |
Name |
Description |
| Tpm2 |
tpm |
|
Returns
|
Improve this Doc
View Source
GetSupportedAlgorithms(Tpm2)
Declaration
public static List<AlgProperty> GetSupportedAlgorithms(Tpm2 tpm)
Parameters
| Type |
Name |
Description |
| Tpm2 |
tpm |
|
Returns
| Type |
Description |
| List<AlgProperty> |
|
|
Improve this Doc
View Source
GetSupportedCommands(Tpm2)
Declaration
public static List<TpmCc> GetSupportedCommands(Tpm2 tpm)
Parameters
| Type |
Name |
Description |
| Tpm2 |
tpm |
|
Returns
| Type |
Description |
| List<TpmCc> |
|
|
Improve this Doc
View Source
GetVersionString(Tpm2, String)
Declaration
public static string GetVersionString(Tpm2 tpm, string manufacturer)
Parameters
| Type |
Name |
Description |
| Tpm2 |
tpm |
|
| System.String |
manufacturer |
|
Returns
| Type |
Description |
| System.String |
|
Implements