CryptographicEngine.VerifySignatureWithHashInput 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.
Verifies the signature of the specified input data against a known signature.
public:
static bool VerifySignatureWithHashInput(CryptographicKey ^ key, IBuffer ^ data, IBuffer ^ signature);
static bool VerifySignatureWithHashInput(CryptographicKey const& key, IBuffer const& data, IBuffer const& signature);
public static bool VerifySignatureWithHashInput(CryptographicKey key, IBuffer data, IBuffer signature);
function verifySignatureWithHashInput(key, data, signature)
Public Shared Function VerifySignatureWithHashInput (key As CryptographicKey, data As IBuffer, signature As IBuffer) As Boolean
Parameters
- key
- 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
The data to be verified. The data is a hashed value of raw data.
- signature
- IBuffer
The known signature to use to verify the signature of the input data.
Returns
bool
True if the signature is verified; otherwise false.