<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MailKit",
  "identifier" : "/documentation/MailKit/MEMessageSecurityInformation/init(signers:isEncrypted:signingError:encryptionError:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "MailKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MEMessageSecurityInformation(im)initWithSigners:isEncrypted:signingError:encryptionError:"
  },
  "title" : "init(signers:isEncrypted:signingError:encryptionError:)"
}
-->

# init(signers:isEncrypted:signingError:encryptionError:)

Creates a message security information object that indicates if a message is encrypted, who signed it, or if an error occurred when decoding the message.

```
init(signers: [MEMessageSigner], isEncrypted: Bool, signingError: (any Error)?, encryptionError: (any Error)?)
```

## Parameters

`signers`

An array of objects that contain information about who signed the message.

`isEncrypted`

A Boolean value that indicates if the message is encrypted.

`signingError`

An error that indicates the security handler couldn’t decode the message’s digital signatures.

`encryptionError`

An error that indicates the security handler couldn’t decrypt the message.

## Discussion

---

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)