CryptographicEngine.VerifySignatureWithHashInput(CryptographicKey, IBuffer, IBuffer) CryptographicEngine.VerifySignatureWithHashInput(CryptographicKey, IBuffer, IBuffer) CryptographicEngine.VerifySignatureWithHashInput(CryptographicKey, IBuffer, IBuffer) CryptographicEngine.VerifySignatureWithHashInput(CryptographicKey, IBuffer, IBuffer) CryptographicEngine.VerifySignatureWithHashInput(CryptographicKey, IBuffer, IBuffer) Method

Definition

Verifies the signature of the specified input data against a known signature.

public : static Platform::Boolean VerifySignatureWithHashInput(CryptographicKey key, IBuffer data, IBuffer signature)
static bool VerifySignatureWithHashInput(CryptographicKey key, IBuffer data, IBuffer signature) const;
public static bool VerifySignatureWithHashInput(CryptographicKey key, IBuffer data, IBuffer signature)
Public Shared Function VerifySignatureWithHashInput(key As CryptographicKey, data As IBuffer, signature As IBuffer) As bool
var bool = Windows.Security.Cryptography.Core.CryptographicEngine.verifySignatureWithHashInput(key, data, signature);

Parameters

key
CryptographicKey CryptographicKey CryptographicKey

The key to use to retrieve the signature from the input data. This key must be an asymmetric key obtained from a PersistedKeyProvider or AsymmetricKeyAlgorithmProvider.

data
IBuffer IBuffer IBuffer

The data to be verified. The data is a hashed value of raw data.

signature
IBuffer IBuffer IBuffer

The known signature to use to verify the signature of the input data.

Returns

bool bool bool

True if the signature is verified; otherwise false.