SecurityProviderTpmHsm Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
SecurityProviderTpmHsm(String)
Initializes a new instance of the SecurityProviderTpmHsm class using the system TPM.
public SecurityProviderTpmHsm (string registrationId);
new Microsoft.Azure.Devices.Provisioning.Security.SecurityProviderTpmHsm : string -> Microsoft.Azure.Devices.Provisioning.Security.SecurityProviderTpmHsm
Public Sub New (registrationId As String)
Parameters
- registrationId
- String
The Device Provisioning Service Registration Id.
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
SecurityProviderTpmHsm(String, Tpm2Device)
Initializes a new instance of the SecurityProviderTpmHsm class using the specified TPM module.
public SecurityProviderTpmHsm (string registrationId, Tpm2Lib.Tpm2Device tpm);
new Microsoft.Azure.Devices.Provisioning.Security.SecurityProviderTpmHsm : string * Tpm2Lib.Tpm2Device -> Microsoft.Azure.Devices.Provisioning.Security.SecurityProviderTpmHsm
Public Sub New (registrationId As String, tpm As Tpm2Device)
Parameters
- registrationId
- String
The Device Provisioning Service Registration Id.
- tpm
- Tpm2Lib.Tpm2Device
The TPM device.
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.