pub struct EdDsaJcs2022 {
pub proof: Proof,
pub key_pair: Ed25519KeyPair,
pub proof_value_codec: Option<Base>,
}Fields§
§proof: ProofThe proof object
In a proof creation process, it does not contain the proof value, but carries info like challenge, nonce, etc.
In a proof verification process, it contains the proof as found in the secured document, including the proof value
key_pair: Ed25519KeyPairThe keypair used to sreate the proof: in which case the signing key must be present.
The keypair used to verify the proof: in which case only the public key must be present.
This module does not perform resolution of the verification method. Module assumes calles extracted the public key prior to calling this module.
proof_value_codec: Option<Base>The proof value codec. This is important for the encoding of the proof.
For the decoding, codec is automaticaly infered from the string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EdDsaJcs2022
impl RefUnwindSafe for EdDsaJcs2022
impl Send for EdDsaJcs2022
impl Sync for EdDsaJcs2022
impl Unpin for EdDsaJcs2022
impl UnwindSafe for EdDsaJcs2022
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