pub fn write_atomic<P, C>(
path: impl AsRef<Path>,
payload: &[u8],
key_provider: &P,
codec: &C,
seal_options: DntSealOptions,
open_options: &DntOpenOptions,
) -> DntResult<()>where
P: DntKeyProvider,
C: DntCodec,Expand description
Seals, verifies and atomically replaces one DNT file.