Skip to main content

serialize

Function serialize 

Source
pub fn serialize(entries: &[TrustEntry]) -> String
Expand description

Serialize entries back to the [[trust_root]] file grammar. Round-trips through parse (modulo comments — this rewrites the whole file, so any hand-added comments in a file mkit trust subsequently edits are NOT preserved).