pub(crate) fn from_vec(bytes: Vec<u8>) -> Self {
        let key = KeyBytes::from_vec(bytes);
        debug_assert_eq!(get_key_kind(&key), Ok(KeyKind::EcdsaPublic));
        Self { inner: key }
    }
/// Wraps an existing trusted byte vector into a key.
Wraps an existing trusted byte vector into a key.
Wraps an existing trusted byte vector into a key .
pub(crate) fn from_vec(bytes: Vec<u8>) -> Self {
        let key = KeyBytes::from_vec(bytes);
        debug_assert_eq!(get_key_kind(&key), Ok(KeyKind::EcdsaPublic));
        Self { inner: key }
    }
pub ( crate ) fn from_vec ( bytes : Vec < u8 > ) -> Self { let key = KeyBytes :: from_vec ( bytes ) ; debug_assert_eq ! ( get_key_kind ( key ) Ok ( KeyKind EcdsaPublic ) ) ; Self { inner : key } }
Wraps an existing trusted byte vector into a key.
Wraps an existing trusted byte vector into a key .
bytes
Vec<u8>
bytes
Vec<u8>