pub struct Signature {
pub public_key: Option<Vec<u8>>,
pub signature: Option<Vec<u8>>,
pub delegations: Option<Vec<SignedDelegation>>,
}
Expand description
A cryptographic signature, signed by an Identity.
Fields§
§public_key: Option<Vec<u8>>
This is the DER-encoded public key.
signature: Option<Vec<u8>>
The signature bytes.
delegations: Option<Vec<SignedDelegation>>
A list of delegations connecting public_key
to the key that signed signature
, and in that order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)