Skip to main content

SecKeyCreateEncryptedData

Function SecKeyCreateEncryptedData 

Source
pub unsafe extern "C-unwind" fn SecKeyCreateEncryptedData(
    key: &SecKey,
    algorithm: &SecKeyAlgorithm,
    plaintext: &CFData,
    error: *mut *mut CFError,
) -> Option<CFRetained<CFData>>
👎Deprecated:

renamed to SecKey::encrypted_data

Available on crate features SecBase and SecKey only.