Enum webauthn_rs::proto::COSEKeyType [−][src]
pub enum COSEKeyType {
EC_OKP,
EC_EC2(COSEEC2Key),
RSA(COSERSAKey),
}Expand description
The type of Key contained within a COSE value. You should never need to alter or change this type.
Variants
EC_OKP
Identifies this as an Eliptic Curve octet key pair
EC_EC2(COSEEC2Key)
Tuple Fields
0: COSEEC2KeyIdentifies this as an Eliptic Curve EC2 key
RSA(COSERSAKey)
Tuple Fields
0: COSERSAKeyIdentifies this as an RSA 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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for COSEKeyType
impl Send for COSEKeyType
impl Sync for COSEKeyType
impl Unpin for COSEKeyType
impl UnwindSafe for COSEKeyType
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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
