pub struct Signed {
pub key: Vec<u8>,
pub key_id: [u8; 32],
pub alg: String,
pub tbs: Vec<u8>,
pub signature: Vec<u8>,
}Expand description
What signing or verifying gave a record: the key as carried, its key id, the alg, the tbs bytes, and the signature.
Fields§
§key: Vec<u8>§key_id: [u8; 32]§alg: String§tbs: Vec<u8>§signature: Vec<u8>Trait Implementations§
impl StructuralPartialEq for Signed
Auto Trait Implementations§
impl Freeze for Signed
impl RefUnwindSafe for Signed
impl Send for Signed
impl Sync for Signed
impl Unpin for Signed
impl UnsafeUnpin for Signed
impl UnwindSafe for Signed
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