pub unsafe extern "C-unwind" fn SecDecryptTransformCreate(
key_ref: &SecKey,
error: *mut *mut CFError,
) -> CFRetained<SecTransform>๐Deprecated: SecTransform is no longer supported
Available on crate features
SecBase and SecEncryptTransform and SecTransform only.Expand description
Creates an encryption SecTransform object.
Parameter keyRef: The key for the operation
Parameter error: A pointer to a CFErrorRef. This pointer will be set
if an error occurred. This value may be NULL if you
do not want an error returned.
Returns: A pointer to a SecTransformRef object. This object must be released with CFRelease when you are done with it. This function will return NULL if an error occurred.
This function creates a transform which encrypts data.
ยงSafety
error must be a valid pointer or null.