SecDecodeTransformCreate(_:_:)
Creates a decode transform object.
Declaration
func SecDecodeTransformCreate(_ DecodeType: CFTypeRef, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>?) -> SecTransform?Parameters
- DecodeType:
The type of digest to decode. You may pass
NULLfor this parameter, in which case an appropriate algorithm will be chosen for you. SeeEncoding Typesfor a list of valid values. - error:
A pointer to a Cferror. This pointer will be set if an error occurred. This value may be
NULLif you do not want an error returned.
Return Value
A pointer to a new transform or NULL on error. In Objective-C, call the CFRelease function to free this object’s memory when you are done with it.
Discussion
This function creates a transform which computes a decode.