SecTransformDataBlock
A block used to override the default data handling for a transform.
Declaration
typealias SecTransformDataBlock = (CFTypeRef) -> Unmanaged<CFTypeRef>?Parameters
- data:
The data to be processed. When this block is used to to implement the Ksectransformactionprocessdata action, the data is the input data that is to be processed into the output data. When this block is used to implement the Ksectransformactioninternalizeextradata action, the data is a Cfdictionary that contains the data that needs to be imported.
Return Value
NULL for the kSecTransformActionInternalizeExtraData action, the data to be passed to the output attribute for any other action, or a CFError instance on failure.