Show / Hide Table of Contents

Digest Property

Digest

The digest of the array elements (left 16 bytes of SHA-256).

C#
public ReadOnlyMemory<byte>? Digest { get; }

Property Value

Type Description
ReadOnlyMemory<byte>?

Remarks

When you get the Serialized Large Blob Array from the YubiKey, this property (and the EncodedArray property) are set. You can verify the digest at this point.

As soon as this class detects a change to one of the entries, this property and the EncodedArray property are no longer valid and will be set to null. If you call Encode() or SetSerializedLargeBlobArray(SerializedLargeBlobArray) and this property is null, the array will be rebuilt and a new digest will be computed.

In this article
Back to top Generated by DocFX