Function gnunet_sys::GNUNET_IDENTITY_private_key_from_string[][src]

pub unsafe extern "C" fn GNUNET_IDENTITY_private_key_from_string(
    str_: *const c_char,
    key: *mut GNUNET_IDENTITY_PrivateKey
) -> GNUNET_GenericReturnValue

Parses a (Base32) string representation of the private key. See also #GNUNET_IDENTITY_private_key_to_string.

@param str the encoded key. @param key where to write the key. @return GNUNET_SYSERR on error.