Function lcxx::crypto::load_key(std::string const&, key_type)¶ Defined in File crypto.cpp Function Documentation¶ auto lcxx::crypto::load_key(std::string const &key, key_type type) -> rsa_key_t¶ loads a key (public/private) from string into memory. Parameters: key – the RSA key data in PEM format type – whether this is a public or private key