---
title: SecTransformStringOrAttribute
framework: security
role: symbol
role_heading: Type Alias
path: security/sectransformstringorattribute
---

# SecTransformStringOrAttribute

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

## Declaration

```swift
typealias SecTransformStringOrAttribute = CFTypeRef
```

## Discussion

Discussion Use a value of this type in place of either a CFString or a SecTransformAttribute when referring to transform attributes, such as with the attribute parameter in calls to the SecTransformCustomSetAttribute(_:_:_:_:)  and SecTransformCustomGetAttribute(_:_:_:) functions. When using a name, see Transform Attributes for a list of valid key names.
