Function gnunet_sys::GNUNET_CRYPTO_eddsa_key_create_from_configuration[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_eddsa_key_create_from_configuration(
    cfg: *const GNUNET_CONFIGURATION_Handle
) -> *mut GNUNET_CRYPTO_EddsaPrivateKey

@ingroup crypto Create a new private key by reading our peer’s key from the file specified in the configuration.

@param cfg the configuration to use @return new private key, NULL on error (for example, permission denied); free using #GNUNET_free