Function gnunet_sys::GNUNET_CRYPTO_rsa_signature_encode[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_rsa_signature_encode(
    sig: *const GNUNET_CRYPTO_RsaSignature,
    buffer: *mut *mut c_void
) -> usize

Encode the given signature in a format suitable for storing it into a file.

@param sig the signature @param[out] buffer set to a buffer with the encoded key @return size of memory allocated in @a buffer