pub struct AttestationCa {
    pub ca: X509,
}
Expand description

A structure representing an Attestation CA and other options associated to this CA.

Generally depending on the Attestation CA in use, this can help determine properties of the authenticator that is in use.

Fields

ca: X509

The x509 root CA of the attestation chain that a security key will be attested to.

Implementations

Create a customised attestation CA from a DER public key.

The Apple TouchID and FaceID root CA.

The yubico u2f root ca. Applies to all devices up to and including series 5.

The microsoft root CA for TPM attestation.

Not ellible for strict - many TPM’s use SHA1 in signatures, which means they are potentially weak.

In the future we may reject RS1 signatures, allowing this to be moved into the strict category.

Nitrokey root CA for their FIDO2 device range.

Not elligble for strict - hardware is difficult to interact with, low quality, and easy to break or destroy.

Nitrokey root CA for their U2F device range.

Not elligble for strict - hardware is difficult to interact with, low quality, and easy to break or destroy.

Android ROOT CA 1

Android ROOT CA 2

Android ROOT CA 3

Android SOFTWARE ONLY root CA

Google SafetyNet CA (for android)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Converts this type into the (usually inferred) input type.

Serialize this value into the given Serde serializer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more