Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.5 KB

cryptographicengine_signhasheddata_1250888265.md

File metadata and controls

33 lines (23 loc) · 1.5 KB
-api-id -api-type
M:Windows.Security.Cryptography.Core.CryptographicEngine.SignHashedData(Windows.Security.Cryptography.Core.CryptographicKey,Windows.Storage.Streams.IBuffer)
winrt method

Windows.Security.Cryptography.Core.CryptographicEngine.SignHashedData

-description

Signs the hashed input data using the specified key.

-parameters

-param key

The key to use to sign the hash. This key must be an asymmetric key obtained from a PersistedKeyProvider or AsymmetricKeyAlgorithmProvider.

-param data

The input data to sign. The data is a hashed value which can be obtained through incremental hash.

-returns

The signed data.

-remarks

The input data supplied to the SignHashedData method is a hashed value. To sign raw data that has not been hashed, use the SignAsync method.

If the key is a persisted key and the operation requires UI or takes a long time, use the SignHashedDataAsync method instead.

-examples

-see-also