pub struct VerifiedMaterial {
pub material: Vec<u8>,
pub signature_b64: String,
pub session_token: String,
}Expand description
What C2 learns from a valid answer: the bytes the registry must verify and the token.
Fields§
§material: Vec<u8>Pass to verify_node_signature as the challenge.
signature_b64: StringBase64 signature from the node.
session_token: StringAuto Trait Implementations§
impl Freeze for VerifiedMaterial
impl RefUnwindSafe for VerifiedMaterial
impl Send for VerifiedMaterial
impl Sync for VerifiedMaterial
impl Unpin for VerifiedMaterial
impl UnsafeUnpin for VerifiedMaterial
impl UnwindSafe for VerifiedMaterial
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