Skip to main content

UploadLinkIssuer

Trait UploadLinkIssuer 

Source
pub trait UploadLinkIssuer {
    // Required methods
    fn create_link(
        &mut self,
        caps: LinkCaps,
        passphrase: Option<&str>,
    ) -> Result<UploadLink, DropError>;
    fn revoke_link(&mut self, link: UploadLinkId) -> Result<(), DropError>;
}
Expand description

Issues and revokes upload links on a trusted (native) client — the seam lifecycle::Workspace will implement. Provisioning mints the Drop Key, wraps its private half under the master key + OGK escrow, and registers the link record.

Required Methods§

Provision an upload link with caps; passphrase adds the server-verified Argon2id abuse gate (never transmitted — the record stores a verifier).

Revoke a link; the serve path refuses it within its fail-closed cache window.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§