Skip to main content

load_signing_key

Function load_signing_key 

Source
pub fn load_signing_key(path: &Path) -> Result<SigningKey, GossipCryptoError>
Expand description

Load an Ed25519 PKCS#8 private key. Accepts PEM (-----BEGIN PRIVATE KEY-----) or raw DER, chosen by sniffing for the PEM armor.