Skip to main content

ContextCheckpointSignerV1

Trait ContextCheckpointSignerV1 

Source
pub trait ContextCheckpointSignerV1 {
    type Signature;
    type Error;

    // Required method
    fn sign(
        &self,
        payload: &ContextCheckpointSigningPayloadV1,
    ) -> Result<Self::Signature, Self::Error>;
}
Expand description

Seam for the downstream signing and trust slice.

Required Associated Types§

Source

type Signature

Signature representation produced by the signer.

Source

type Error

Error surfaced by the signing slice.

Required Methods§

Source

fn sign( &self, payload: &ContextCheckpointSigningPayloadV1, ) -> Result<Self::Signature, Self::Error>

Sign a sealed checkpoint payload.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§