Skip to main content

prepare

Function prepare 

Source
fn prepare(
    path: &Path,
    clear: &[u8],
    to: &[&Cert],
) -> Option<Result<(Prepared, usize), String>>
Expand description

clear, the content of the copy at path, encrypted to to and written beside it, waiting for its place, with its size; None when no certificate takes it.