Module webauthn_rs_core::interface
source · [−]Expand description
Extended Structs and representations for Webauthn Operations. These types are designed to allow persistance and should not change.
Structs
A structure representing an Attestation CA and other options associated to this CA.
A list of AttestationCas and associated options.
Marker type parameter for data related to authentication ceremony
Information about the authentication that occured.
The output for authentication cermeony extensions.
The in progress state of an authentication attempt. You must persist this associated to the UserID
requesting the registration.
A COSE Elliptic Curve Public Key. This is generally the provided credential
that an authenticator registers, and is used to authenticate the user.
You will likely never need to interact with this value, as it is part of the Credential
API.
A COSE Key as provided by the Authenticator. You should never need
to alter or change these values.
A COSE Elliptic Curve Public Key. This is generally the provided credential
that an authenticator registers, and is used to authenticate the user.
You will likely never need to interact with this value, as it is part of the Credential
API.
A COSE RSA PublicKey. This is a provided credential from a registered
authenticator.
You will likely never need to interact with this value, as it is part of the Credential
API.
The client’s response to the request that it use the
credProtect extensionA user’s authenticator credential. It contains an id, the public key
and a counter of how many times the authenticator has been used.
A legacy serialisation from version 3 of Webauthn RS. Only useful for migrations.
The processed attestation and its metadata
Marker type parameter for data related to registration ceremony
The output for registration ceremony extensions.
The in progress state of a credential registration attempt. You must persist this in a server
side location associated to the active session requesting the registration. This contains the
user unique id which you can use to reference the user requesting the registration.
A serialised Attestation CA.
Enums
The processed Attestation that the Authenticator is providing in it’s AttestedCredentialData. This
metadata may allow identification of the device and it’s specific properties.
The type of Key contained within a COSE value. You should never need
to alter or change this type.
The numeric if of the COSEKeyType used in the CBOR fields.
An ECDSACurve identifier. You probably will never need to alter
or use this value, as it is set inside the Credential for you.
An EDDSACurve identifier. You probably will never need to alter
or use this value, as it is set inside the Credential for you.
The processed Attestation that the Authenticator is providing in it’s AttestedCredentialData
Serialised Attestation Data which can be stored in a stable database or similar.
Traits
Trait for ceremony marker structs
Type Definitions
Representation of an AAGUID
https://www.w3.org/TR/webauthn/#aaguid
Representation of a credentials activation counter.