pub struct SsiCert {
pub fp: Fingerprint,
pub pk: Option<SsiPub>,
pub msg: Bytes32,
pub sig: SsiSig,
}Fields§
§fp: Fingerprint§pk: Option<SsiPub>§msg: Bytes32§sig: SsiSigImplementations§
Source§impl SsiCert
impl SsiCert
pub fn verify(&self) -> Result<(), VerifyError>
pub fn verify_text(&self, text: &str) -> Result<(), VerifyError>
Trait Implementations§
impl Copy for SsiCert
impl Eq for SsiCert
Source§impl Ord for SsiCert
impl Ord for SsiCert
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for SsiCert
impl PartialOrd for SsiCert
impl StructuralPartialEq for SsiCert
Auto Trait Implementations§
impl Freeze for SsiCert
impl RefUnwindSafe for SsiCert
impl Send for SsiCert
impl Sync for SsiCert
impl Unpin for SsiCert
impl UnsafeUnpin for SsiCert
impl UnwindSafe for SsiCert
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