pub struct VerificationMethod {
pub verification_pairs: VerificationPairs,
pub agreement_pairs: AgreementPairs,
}Expand description
VerificationMethod is an object used to generate two important keys, a verification_pairs
and an aggreement_pairs
A verification_pairs is a public and private keys used to verify a context based on some signature
An aggreement_pairs is a public and private keys used to generate the shared secret through ECDH algorithm
Fields§
§verification_pairs: VerificationPairs§agreement_pairs: AgreementPairsTrait Implementations§
Source§impl Clone for VerificationMethod
impl Clone for VerificationMethod
Source§fn clone(&self) -> VerificationMethod
fn clone(&self) -> VerificationMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VerificationMethod
impl RefUnwindSafe for VerificationMethod
impl Send for VerificationMethod
impl Sync for VerificationMethod
impl Unpin for VerificationMethod
impl UnwindSafe for VerificationMethod
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