pub struct ParsedCoseSign1 {
pub sign1: CoseSign1,
pub kid: Vec<u8>,
pub alg: i64,
}Expand description
Parsed COSE_Sign1 with kid + alg extracted from the protected header.
Fields§
§sign1: CoseSign1The decoded COSE_Sign1 structure (signature bytes accessible via .signature).
kid: Vec<u8>Signer key id from the protected header.
alg: i64IANA COSE algorithm integer (e.g. -8 for EdDSA).
Auto Trait Implementations§
impl Freeze for ParsedCoseSign1
impl RefUnwindSafe for ParsedCoseSign1
impl Send for ParsedCoseSign1
impl Sync for ParsedCoseSign1
impl Unpin for ParsedCoseSign1
impl UnsafeUnpin for ParsedCoseSign1
impl UnwindSafe for ParsedCoseSign1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more