Struct webauthn_rs::proto::COSEKey [−][src]
pub struct COSEKey {
pub type_: COSEAlgorithm,
pub key: COSEKeyType,
}
Expand description
A COSE Key as provided by the Authenticator. You should never need to alter or change these values.
Fields
type_: COSEAlgorithm
The type of key that this contains
key: COSEKeyType
The public key
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
type Error = WebauthnError
type Error = WebauthnError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for COSEKey
impl UnwindSafe for COSEKey
Blanket Implementations
Mutably borrows from an owned value. Read more