Show / Hide Table of Contents

IsDigestVerified Method

IsDigestVerified()

Determine if the Digest verifies for the given EncodedArray.

C#
public bool IsDigestVerified()

Returns

bool

A boolean, true if there is EncodedData and a Digest, and the digest is correct. false otherwise.

Remarks

If either or both EncodedData and Digest is null, this method returns false. If they are both present, this method will compute the SHA-256 digest of the EncodedData, and compare the "left" 16 bytes of that result with Digest.

In this article
Back to top Generated by DocFX