pub enum PortableProof {
Certified {
delegation: Box<DelegationProof>,
issuer_signature: IcCanisterSignatureProofV1,
},
Ed25519 {
signature: Vec<u8>,
},
}Expand description
Transport selects proof material, never trusted authority or signing custody. Ed25519 signatures are exactly 64 bytes at verification; issuer keys are not carried here. Certified proofs reuse the existing Root and IC proof owners.
Variants§
Certified
Root delegation plus the delegated issuer’s IC canister signature.
Fields
§
delegation: Box<DelegationProof>Root proof of the issuer’s bounded delegated authority.
§
issuer_signature: IcCanisterSignatureProofV1Issuer signature over the canonical claims bytes.
Ed25519
Signature under an issuer key supplied independently by protected policy.
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 PortableProof
impl Move for PortableProof
impl RefUnwindSafe for PortableProof
impl Send for PortableProof
impl Sync for PortableProof
impl Unpin for PortableProof
impl UnsafeUnpin for PortableProof
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