---
title: Security Transforms
framework: security
role: collectionGroup
role_heading: API Collection
path: security/security-transforms
---

# Security Transforms

Perform cryptographic functions like encoding, encryption, signing, and signature verification.

## Overview

Overview You use security transforms to assemble a chain of security-related operations that you apply to a stream of data in macOS.

## Topics

### Transforms

- [SecTransformCreateReadTransformWithReadStream(_:)](security/sectransformcreatereadtransformwithreadstream(_:).md)
- [SecTransform](security/sectransform.md)
- [SecTransformGetTypeID()](security/sectransformgettypeid().md)

### Encoding

- [SecEncodeTransformCreate(_:_:)](security/secencodetransformcreate(_:_:).md)
- [SecDecodeTransformCreate(_:_:)](security/secdecodetransformcreate(_:_:).md)

### Encrypting

- [SecEncryptTransformCreate(_:_:)](security/secencrypttransformcreate(_:_:).md)
- [SecDecryptTransformCreate(_:_:)](security/secdecrypttransformcreate(_:_:).md)
- [SecEncryptTransformGetTypeID()](security/secencrypttransformgettypeid().md)
- [SecDecryptTransformGetTypeID()](security/secdecrypttransformgettypeid().md)

### Signing

- [SecSignTransformCreate(_:_:)](security/secsigntransformcreate(_:_:).md)
- [SecVerifyTransformCreate(_:_:_:)](security/secverifytransformcreate(_:_:_:).md)
- [SecDigestTransformCreate(_:_:_:)](security/secdigesttransformcreate(_:_:_:).md)
- [SecDigestTransformGetTypeID()](security/secdigesttransformgettypeid().md)

### Custom Transforms

- [SecTransformCreate(_:_:)](security/sectransformcreate(_:_:).md)
- [SecTransformRegister(_:_:_:)](security/sectransformregister(_:_:_:).md)
- [SecTransformCreateFP](security/sectransformcreatefp.md)
- [SecTransformInstanceBlock](security/sectransforminstanceblock.md)
- [SecTransformImplementationRef](security/sectransformimplementationref.md)

### Transform Groups

- [SecTransformCreateGroupTransform()](security/sectransformcreategrouptransform().md)
- [SecTransformFindByName(_:_:)](security/sectransformfindbyname(_:_:).md)
- [SecGroupTransform](security/secgrouptransform.md)
- [SecGroupTransformGetTypeID()](security/secgrouptransformgettypeid().md)

### Transform Characteristics

- [SecTransformSetAttribute(_:_:_:_:)](security/sectransformsetattribute(_:_:_:_:).md)
- [SecTransformGetAttribute(_:_:)](security/sectransformgetattribute(_:_:).md)
- [SecTransformCustomSetAttribute(_:_:_:_:)](security/sectransformcustomsetattribute(_:_:_:_:).md)
- [SecTransformCustomGetAttribute(_:_:_:)](security/sectransformcustomgetattribute(_:_:_:).md)
- [SecTransformPushbackAttribute(_:_:_:)](security/sectransformpushbackattribute(_:_:_:).md)
- [Transform Attributes](security/transform-attributes.md)
- [SecTransformAttribute](security/sectransformattribute.md)
- [SecTransformStringOrAttribute](security/sectransformstringorattribute.md)
- [SecTransformMetaAttributeType](security/sectransformmetaattributetype.md)

### Actions

- [SecTransformSetDataAction(_:_:_:)](security/sectransformsetdataaction(_:_:_:).md)
- [SecTransformSetAttributeAction(_:_:_:_:)](security/sectransformsetattributeaction(_:_:_:_:).md)
- [SecTransformSetTransformAction(_:_:_:)](security/sectransformsettransformaction(_:_:_:).md)
- [SecTransformActionBlock](security/sectransformactionblock.md)
- [SecTransformAttributeActionBlock](security/sectransformattributeactionblock.md)
- [SecTransformDataBlock](security/sectransformdatablock.md)
- [Actions](security/actions.md)

### Piping

- [SecTransformConnectTransforms(_:_:_:_:_:_:)](security/sectransformconnecttransforms(_:_:_:_:_:_:).md)

### Execution

- [SecTransformExecute(_:_:)](security/sectransformexecute(_:_:).md)
- [SecTransformExecuteAsync(_:_:_:)](security/sectransformexecuteasync(_:_:_:).md)
- [SecTransformNoData()](security/sectransformnodata().md)
- [SecMessageBlock](security/secmessageblock.md)

### Import and Export

- [SecTransformCopyExternalRepresentation(_:)](security/sectransformcopyexternalrepresentation(_:).md)
- [SecTransformCreateFromExternalRepresentation(_:_:)](security/sectransformcreatefromexternalrepresentation(_:_:).md)

### Reporting Errors

- [kSecTransformErrorDomain](security/ksectransformerrordomain.md)
- [Security Transform Error Codes](security/security-transform-error-codes.md)
- [kSecTransformPreviousErrorKey](security/ksectransformpreviouserrorkey.md)
- [kSecTransformAbortOriginatorKey](security/ksectransformabortoriginatorkey.md)

## See Also

### Related Documentation

- [Security Transforms Programming Guide](apple-archive/documentation/Security/Conceptual/SecTransformPG/Introduction.md)
