AuthenticationData Class
Namespace: Yubico.YubiKey.U2f Assembly: Yubico.YubiKey.dllRepresents a single U2F authentication response.
C#
public class AuthenticationData : U2fSignedData
Remarks
This class is used to see what the was returned by the YubiKey in an authentication operation, as well as a method to verify the signature.
Constructors
Name | Description |
---|---|
AuthenticationData(ReadOnlyMemory<Byte>) | Build a new |
Properties
Name | Description |
---|---|
Counter | The counter used in computing the signature. |
UserPresenceVerified | If the user's presence was verified in the authentication operation,
this will be |
Methods
Name | Description |
---|---|
VerifySignature(ReadOnlyMemory<Byte>, ReadOnlyMemory<Byte>, ReadOnlyMemory<Byte>) | Use the given public key to verify the signature. Use the given Application ID (hash of origin data) and Client Data Hash (includes the challenge) to build the data to verify. |