U2fBuffer Class
Namespace: Yubico.YubiKey.U2f Assembly: Yubico.YubiKey.dllThis is a base class for those classes that need to collect and encode data into a single buffer, either as data in a command or data to verify. This will hold the buffer along with the Application ID Hash and Client Data Hash. Subclasses can add more data to be placed into the buffer.
C#
public abstract class U2fBuffer : Object
Inheritance
System.Object
U2fBuffer
Remarks
Only the SDK will ever need to create subclasses, there is no reason for any other application to do so.
Constructors
Name | Description |
---|---|
U2fBuffer(Int32, Int32, Int32) | Initialize the object to the given values. |
Fields
Name | Description |
---|---|
AppIdHashLength | |
ClientDataHashLength | |
CoordinateLength | |
CounterLength | |
KeyHandleLength | |
PublicKeyLength | |
PublicKeyTag |
Properties
Name | Description |
---|---|
ApplicationId | Set the |
ClientDataHash | Set and get the |
Methods
Name | Description |
---|---|
SetBufferData(ReadOnlyMemory<Byte>, Int32, Int32, String) | Copy the buffer data into the _buffer beginning at the given offset. Throw an exception if the input length is not correct. |