pub struct DetachedCorim {
pub document: Vec<u8>,
pub signature: Vec<u8>,
}Expand description
Output of detach_payload: the CoRIM document plus a detached
COSE_Sign1 envelope (payload field set to nil).
Fields§
§document: Vec<u8>CBOR-encoded CoRIM document extracted from the input envelope.
signature: Vec<u8>CoRIM-spec #6.18(COSE_Sign1) envelope with the payload slot
nil, suitable for verify_corim_signature against document.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DetachedCorim
impl RefUnwindSafe for DetachedCorim
impl Send for DetachedCorim
impl Sync for DetachedCorim
impl Unpin for DetachedCorim
impl UnsafeUnpin for DetachedCorim
impl UnwindSafe for DetachedCorim
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