共用方式為


SecurityProviderTpmHsm.GetStorageRootKey Method

Definition

Gets the Base64 encoded StorageRootKey.

public override byte[] GetStorageRootKey ();
override this.GetStorageRootKey : unit -> byte[]
Public Overrides Function GetStorageRootKey () As Byte()

Returns

Byte[]

Base64 encoded SRK.

Remarks

Calls to the TPM library can potentially return a Tpm2Lib.TssException or a Tpm2Lib.TpmException if your TPM hardware does not support the relevant API call.

Applies to