SecTransformCustomGetAttribute

Function SecTransformCustomGetAttribute 

Source
pub unsafe extern "C-unwind" fn SecTransformCustomGetAttribute(
    ref: SecTransformImplementationRef,
    attribute: &SecTransformStringOrAttribute,
    type: SecTransformMetaAttributeType,
) -> Option<CFRetained<CFType>>
๐Ÿ‘ŽDeprecated: SecTransform is no longer supported
Available on crate feature SecCustomTransform only.
Expand description

Allow a custom transform to get an attribute value

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

Parameter attribute: The name or the attribute handle of the attribute whose value is to be retrieved.

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

Returns: The value of the attribute.

ยงSafety

  • ref must be a valid pointer.
  • attribute should be of the correct type.