SetLargeBlobCommand Class
Namespace: Yubico.YubiKey.Fido2.Commands Assembly: Yubico.YubiKey.dllStores arbitrary data on the YubiKey. This command does not format the
data (the FIDO2 standard specifies a format for
serializedLargeBlobArray
), it simply stores whatever byte array it
is given.
Warning
While storing arbitrary data that does not follow the standard's formatting specification is possible, it is not recommended. See the User's Manual entry on FIDO2 Blobs and the documentation for the method SetSerializedLargeBlobArray(SerializedLargeBlobArray).
public sealed class SetLargeBlobCommand : Object, IYubiKeyCommand<SetLargeBlobResponse>
Implements
Remarks
The partner Response class is SetLargeBlobResponse. Specified in CTAP as "authenticatorLargeBlobs".
The standard specifies one command called
"authenticatorLargeBlobs
". It takes input that specifies whether
to get or set. The SDK breaks this into two commands.
The standard specifies the format of large blob data, however, this command does not format the input data, nor does it verify that the data is formatted correctly. It stores whatever data it is given.
Note that this command will replace any data currently stored as a large blob on the YubiKey. To update the current data, get the current data (using GetLargeBlobCommand), "edit" it and then call this command.
Constructors
Name | Description |
---|---|
SetLargeBlobCommand(ReadOnlyMemory<Byte>, Int32, Int32, ReadOnlyMemory<Byte>, Int32) | Constructs an instance of the SetLargeBlobCommand class. |
Properties
Name | Description |
---|---|
Application | Gets the YubiKeyApplication to which this command belongs. |
Methods
Name | Description |
---|---|
CreateCommandApdu() | Creates a well-formed CommandApdu to send to the YubiKey. |
CreateResponseForApdu(ResponseApdu) | Creates the corresponding IYubiKeyResponse implementation for the current command. |