Function avalanche_types::key::cert::x509::load_pem_to_der
source · [−]pub fn load_pem_to_der(
key_path: &str,
cert_path: &str
) -> Result<(PrivateKey, Certificate)>
Expand description
Loads the TLS key and certificate from the PEM-encoded files, as DER.