LargeBlobEntry Class
Namespace: Yubico.YubiKey.Fido2 Assembly: Yubico.YubiKey.dllContains the data from one entry in the Large Blob Array. See also the user's manual entry on large blobs.
public class LargeBlobEntry : Object
Remarks
The SerializedLargeBlobArray class contains a List
of
LargeBlobEntry
, this class. When you get a Large Blob Array from a
YubiKey (GetSerializedLargeBlobArray()), you get a
LargeBlobArray
object. You then have access to each of the
individual entries in the Large Blob Array through that list of
LargeBlobEntry
. If you want to add a new LargeBlobEntry
to
the Array's List
, call the
AddEntry(ReadOnlyMemory<Byte>, ReadOnlyMemory<Byte>) method.
This class contains only properties and a TryDecrypt(ReadOnlyMemory<Byte>, out Memory<Byte>)
method. You will not build an individual entry yourself, only the
LargeBlobArray
class can do that. But you will be able to see the
data of the entry.
Properties
Name | Description |
---|---|
Ciphertext | The encrypted data. This is either the retrieved encrypted data when
getting a Large Blob Array, or the provided data encrypted using the
specified |
Nonce | The nonce used to perform the AES-GCD operation. This is either the retrieved nonce when getting a Large Blob Array, or the generated nonce used when creating a new entry to store. |
OriginalDataLength | The length, in bytes, of the unencrypted, uncompressed data. This is
either the retrieved |
Methods
Name | Description |
---|---|
TryDecrypt(ReadOnlyMemory<Byte>, out Memory<Byte>) | Try to decrypt the data using the given key. If the key is correct,
this will set the return |