Function gnunet_sys::GNUNET_IDENTITY_private_key_to_string[][src]

pub unsafe extern "C" fn GNUNET_IDENTITY_private_key_to_string(
    key: *const GNUNET_IDENTITY_PrivateKey
) -> *mut c_char

Creates a (Base32) string representation of the private key. The resulting string encodes a compacted representation of the key. See also #GNUNET_IDENTITY_key_get_length.

@param key the key. @return the string representation of the key, or NULL on error.