Function SecDecodeTransformCreate

Source
pub unsafe extern "C-unwind" fn SecDecodeTransformCreate(
    decode_type: &CFType,
    error: *mut *mut CFError,
) -> Option<CFRetained<SecTransform>>
👎Deprecated: SecTransform is no longer supported
Available on crate features SecDecodeTransform and SecTransform only.
Expand description

Creates an decode computation object.

Parameter DecodeType: The type of digest to decode. You may pass NULL for this parameter, in which case an appropriate algorithm will be chosen for you.

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 computes a decode.