GetAssertionData Class
Namespace: Yubico.YubiKey.Fido2 Assembly: Yubico.YubiKey.dllContains the data returned by the YubiKey after getting an assertion.
public class GetAssertionData : Object, IDisposable
Implements
Remarks
When an assertion is obtained, the YubiKey returns data about that assertion, including the credential. There are several elements in this data and this structure contains those elements.
Constructors
Name | Description |
---|---|
GetAssertionData(ReadOnlyMemory<Byte>) | Build a new instance of GetAssertionData based on the given CBOR encoding. |
Properties
Name | Description |
---|---|
AuthenticatorData | The object that contains both the encoded authenticator data, which is to be used in verifying the attestation statement, and the decoded elements, including the credential itself, a public key. |
CredentialId | The credential ID for the assertion just obtained. |
LargeBlobKey | The large blob key, if there is one. This is optional and can be null. |
NumberOfCredentials | The total number of credentials found on the YubiKey for the relying party. This is optional and can be null. If null, then there is only one credential. |
Signature | The assertion signature, which can be used to verify the assertion the call to GetAssertion returned. |
User | The user's ID, along with optional descriptive strings. This is an optional element and can be null. |
UserSelected | If |
Methods
Name | Description |
---|---|
Dispose() | Releases any unmanaged resources and overwrites any sensitive data. |
Dispose(Boolean) | Releases any unmanaged resources and overwrites any sensitive data. |
VerifyAssertion(CoseKey, ReadOnlyMemory<Byte>) | Use the given public key to verify the Signature. This
method will use the |