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 |
---|---|---|
System.ReadOnlyMemory<System.Byte> | blobData | The data to store in the Large Blob Array. |
System.ReadOnlyMemory<System.Byte> | largeBlobKey | The 32-byte key returned by the YubiKey in an assertion, it will be
used to encrypt the |
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.