Function

SecTransformCustomGetAttribute(_:_:_:)

Gets an attribute value from a custom transform.

Declaration

func SecTransformCustomGetAttribute(_ ref: SecTransformImplementationRef, _ attribute: SecTransformStringOrAttribute, _ type: SecTransformMetaAttributeType) -> CFTypeRef?

Parameters

ref

A SecTransformImplementationRef that is bound to an instance of a custom transform.

attribute

The name or the attribute handle of the attribute whose value is to be retrieved. When using a name, see Transform Attributes for a list of valid key names.

type

The type of data to be retrieved for the attribute. See the discussion on SecTransformMetaAttributeType for details.

Return Value

The value of the attribute.

See Also

Transform Characteristics

func SecTransformGetAttribute(SecTransform, CFString) -> CFTypeRef?

Gets the current value of a transform attribute.

Transform Attributes

Specify the attributes of a transform.

typealias SecTransformAttribute

A direct reference to a security transform attribute.

typealias SecTransformStringOrAttribute

A type that may be either a string or an attribute reference.

enum SecTransformMetaAttributeType

The keys that describe the metadata attributes of transform attributes.