pub enum PortableProof {
Certified(Box<CertifiedProof>),
Ed25519(Bytes<64>),
}Expand description
PortableProof
Claimed proof mechanism; the host’s enrollment selects the verifier.
Variants§
Certified(Box<CertifiedProof>)
Root-delegated certified issuer proof, transport tag zero.
Ed25519(Bytes<64>)
At most 64 signature bytes; strict verification later requires exactly 64.
Trait Implementations§
Source§impl Clone for PortableProof
impl Clone for PortableProof
Source§impl Debug for PortableProof
impl Debug for PortableProof
Source§impl<'de> Deserialize<'de> for PortableProof
impl<'de> Deserialize<'de> for PortableProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PortableProof
Source§impl PartialEq for PortableProof
impl PartialEq for PortableProof
Source§impl Serialize for PortableProof
impl Serialize for PortableProof
impl StructuralPartialEq for PortableProof
Auto Trait Implementations§
impl Forget for PortableProof
impl Freeze for PortableProofwhere
*const CertifiedProof is !null: Freeze,
PhantomData<CertifiedProof>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for PortableProof
impl RefUnwindSafe for PortableProof
impl Send for PortableProof
impl Sync for PortableProof
impl Unpin for PortableProof
impl UnsafeUnpin for PortableProofwhere
*const CertifiedProof is !null: UnsafeUnpin,
PhantomData<CertifiedProof>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for PortableProof
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