Function gnunet_sys::GNUNET_CRYPTO_rsa_private_key_get_public[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_rsa_private_key_get_public(
    priv_: *const GNUNET_CRYPTO_RsaPrivateKey
) -> *mut GNUNET_CRYPTO_RsaPublicKey

Extract the public key of the given private key.

@param priv the private key @return NULL on error, otherwise the public key