Type Alias

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.

See Also

Actions

typealias SecTransformActionBlock

A block that overrides the default behavior of a custom transform.

typealias SecTransformAttributeActionBlock

A block used to override the default attribute handling for when an attribute is set.

Actions

Use actions to trigger particular behaviors.