Show / Hide Table of Contents

AddEntry Method

AddEntry(ReadOnlyMemory<byte>, ReadOnlyMemory<byte>)

Add a new entry to the Entries. This method will build a new LargeBlobEntry from the blobData and the largeBlobKey

C#
public void AddEntry(ReadOnlyMemory<byte> blobData, ReadOnlyMemory<byte> largeBlobKey)

Parameters

Type Name Description
ReadOnlyMemory<byte> blobData

The data to store in the Large Blob Array.

ReadOnlyMemory<byte> largeBlobKey

The 32-byte key returned by the YubiKey in an assertion, it will be used to encrypt the blobData.

Remarks

Generally you will obtain the current Large Blob Array, then remove or add entries. If you want to add an entry, call this method providing the data you want to store along with the LargeBlobKey in the returned GetAssertionData object. To "edit" an existing entry, add a new entry with the updated information, then delete the previous version.

In this article
Back to top Generated by DocFX