SecurityProviderTpmHsm.Sign(Byte[]) Method
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.
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.