MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / write_pem_cert

Function write_pem_cert

nodedb/src/control/cluster/tls.rs:417–421  ·  view source on GitHub ↗
(path: &Path, der: &[u8])

Source from the content-addressed store, hash-verified

415}
416
417fn write_pem_cert(path: &Path, der: &[u8]) -> crate::Result<()> {
418 super::pem_io::write_pem_cert(path, der).map_err(|e| crate::Error::Config {
419 detail: format!("write {}: {e}", path.display()),
420 })
421}
422
423fn write_pem_private_key(path: &Path, der: &[u8]) -> crate::Result<()> {
424 super::pem_io::write_pem_private_key(path, der).map_err(|e| crate::Error::Config {

Callers 3

write_trusted_caFunction · 0.70
bootstrap_credentialsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected