<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/CMSEncoder",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@T@CMSEncoderRef"
  },
  "title" : "CMSEncoder"
}
-->

# CMSEncoder

Opaque reference to a CMS encoder object.

```
class CMSEncoder
```

## Overview

This is object is compatible with Core Foundation and uses standard Core Foundation semantics. Dispose of it with the <doc://com.apple.documentation/documentation/CoreFoundation/CFRelease> function.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)