Function proj_billing::billing::three_party::read_or_gen_params [] [src]

pub fn read_or_gen_params<P: AsRef<Path> + Clone>(path: P) -> DHParams

Try to read DHParams from the provided file. If this fails, then generate new parameters and write these to the file