Struct webauthn_rs_core::interface::COSEKey
source · [−]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_: COSEAlgorithmThe type of key that this contains
key: COSEKeyTypeThe public key
Trait Implementations
sourceimpl<'de> Deserialize<'de> for COSEKey
impl<'de> Deserialize<'de> for COSEKey
sourcefn 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
sourceimpl TryFrom<(COSEAlgorithm, &X509)> for COSEKey
impl TryFrom<(COSEAlgorithm, &X509)> for COSEKey
type Error = WebauthnError
type Error = WebauthnError
The type returned in the event of a conversion error.
impl Eq for COSEKey
impl StructuralEq for COSEKey
impl StructuralPartialEq for COSEKey
Auto Trait Implementations
impl RefUnwindSafe for COSEKey
impl Send for COSEKey
impl Sync for COSEKey
impl Unpin for COSEKey
impl UnwindSafe for COSEKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more