pub type SecKeyGeneratePairBlock = *mut DynBlock<dyn Fn(NonNull<SecKey>, NonNull<SecKey>, NonNull<CFError>)>;Available on crate features
SecBase and SecKey and block2 only.Expand description
Delivers the result from an asynchronous key pair generation.
Parameter publicKey: - the public key generated. You must retain publicKey if you wish to use it after your block returns.
Parameter privateKey: - the private key generated. You must retain publicKey if you wish to use it after your block returns.
Parameter error: - Any errors returned. You must retain error if you wish to use it after your block returns.
See also Appleās documentation