共用方式為


SecurityProviderTpmHsm.Sign(Byte[]) Method

Definition

Signs the data using the previously activated identity key.

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

Parameters

data
Byte[]

The data to be signed.

Returns

Byte[]

The signed data.

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