Skip to main content

sign_bundle

Function sign_bundle 

Source
pub fn sign_bundle(
    bundle: &[u8],
    secret_key: &str,
) -> Result<Vec<u8>, BundleError>
Expand description

Return a copy of bundle (archive bytes) signed with secret_key (hex seed). Any previous signature is replaced. The bundle is fully verified first.