Function gnunet_sys::GNUNET_IDENTITY_key_get_public [−][src]
pub unsafe extern "C" fn GNUNET_IDENTITY_key_get_public(
privkey: *const GNUNET_IDENTITY_PrivateKey,
key: *mut GNUNET_IDENTITY_PublicKey
) -> GNUNET_GenericReturnValue
Retrieves the public key representation of a private key.
@param privkey the private key. @param key the public key result. @return GNUNET_SYSERR on error.