Function gnunet_sys::GNUNET_CRYPTO_rsa_public_key_encode [−][src]
pub unsafe extern "C" fn GNUNET_CRYPTO_rsa_public_key_encode(
key: *const GNUNET_CRYPTO_RsaPublicKey,
buffer: *mut *mut c_void
) -> usize
Encode the public key in a format suitable for storing it into a file.
@param key the private key @param[out] buffer set to a buffer with the encoded key @return size of memory allocated in @a buffer