Share via


SecurityProviderTpmHsm Class

Definition

The Provisioning Security Client implementation for TPM.

public class SecurityProviderTpmHsm : Microsoft.Azure.Devices.Shared.SecurityProviderTpm
type SecurityProviderTpmHsm = class
    inherit SecurityProviderTpm
Public Class SecurityProviderTpmHsm
Inherits SecurityProviderTpm
Inheritance

Constructors

SecurityProviderTpmHsm(String)

Initializes a new instance of the SecurityProviderTpmHsm class using the system TPM.

SecurityProviderTpmHsm(String, Tpm2Device)

Initializes a new instance of the SecurityProviderTpmHsm class using the specified TPM module.

Methods

ActivateIdentityKey(Byte[])

Activates an identity key within the TPM device.

Dispose()

Releases the unmanaged resources and disposes of the managed resources used by the invoker.

(Inherited from SecurityProvider)
Dispose(Boolean)

Releases the unmanaged resources used by the SecurityProviderTpmHsm and optionally disposes of the managed resources.

GetEndorsementKey()

Gets the Base64 encoded EndorsmentKey.

GetRegistrationID()

Gets the Registration Id used during device enrollment.

(Inherited from SecurityProviderTpm)
GetStorageRootKey()

Gets the Base64 encoded StorageRootKey.

Sign(Byte[])

Signs the data using the previously activated identity key.

Applies to