pub unsafe extern "C-unwind" fn SecEncodeTransformCreate(
encode_type: &CFType,
error: *mut *mut CFError,
) -> Option<CFRetained<SecTransform>>๐Deprecated: SecTransform is no longer supported
Available on crate features
SecEncodeTransform and SecTransform only.Expand description
Creates an encode computation object.
Parameter encodeType: The type of encoding to compute. 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 an encode.
ยงSafety
encode_typeshould be of the correct type.errormust be a valid pointer or null.