mimekit - MimeKit.Cryptography 5.0.0.2607

MimeKit is an Open Source library for creating and parsing MIME, S/MIME and PGP messages on desktop and mobile platforms. It also supports parsing of Unix mbox files.

  MimeKit.Cryptography extends MimeKit.Core with support for S/MIME, PGP/MIME, DKIM, ARC and DMARC using BouncyCastle.Cryptography. Reference this package (or the MimeKit meta-package) when you need cryptography features.

  API documentation can be found on the web at http://www.mimekit.net/docs

  For those that need SMTP, POP3 or IMAP support, check out https://github.com/jstedfast/MailKit

PM> Install-Package MimeKit.Cryptography -Version 5.0.0.2607 -Source https://www.myget.org/F/mimekit/api/v3/index.json

Copy to clipboard

> nuget.exe install MimeKit.Cryptography -Version 5.0.0.2607 -Source https://www.myget.org/F/mimekit/api/v3/index.json

Copy to clipboard

> dotnet add package MimeKit.Cryptography --version 5.0.0.2607 --source https://www.myget.org/F/mimekit/api/v3/index.json

Copy to clipboard
<PackageReference Include="MimeKit.Cryptography" Version="5.0.0.2607" />
Copy to clipboard
source https://www.myget.org/F/mimekit/api/v3/index.json

nuget MimeKit.Cryptography  ~> 5.0.0.2607
Copy to clipboard

> choco install MimeKit.Cryptography --version 5.0.0.2607 --source https://www.myget.org/F/mimekit/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "mimekit" -SourceLocation "https://www.myget.org/F/mimekit/api/v2"
Install-Module -Name "MimeKit.Cryptography" -RequiredVersion "5.0.0.2607" -Repository "mimekit" 
Copy to clipboard

MimeKit 5.0 is a major release containing a number of breaking changes. See https://github.com/jstedfast/MimeKit/blob/master/ReleaseNotes.md for the complete list of changes and migration notes.

  • MimeKit.Cryptography contains the S/MIME, PGP/MIME, DKIM, ARC and DMARC support that was previously part of MimeKit. Call CryptographyModule.Initialize () during startup, and add a using MimeKit.Cryptography; directive for the MimeMessage.Sign (), Encrypt () and SignAndEncrypt () extension methods.
  • Visitors that handle signed or encrypted entities must now derive from CryptographicMimeVisitor.
  • CryptographyContext no longer registers a default S/MIME context. Applications must explicitly register the context they want. This makes MimeKit AOT-compatible.
  • Added DmarcVerifier and DmarcRecord for DMARC validation.
  • Replaced IDkimPublicKeyLocator with the more general IDnsResolver interface, and DKIM key records are now parsed more strictly per RFC 6376.
  • DkimVerifier.Verify () now returns a DkimSignatureValidationResult describing why a signature did not pass, and ArcVerifier.Verify () now provides diagnostics for ARC chain validation failures.
  • MimeMessage.Sign () and SignAndEncrypt () overloads that do not take a DigestAlgorithm now use SHA-256 instead of SHA-1.
  • Moved the digest algorithm preference APIs from CryptographyContext to OpenPgpContext.
  • Removed previously obsoleted APIs, including the obsolete DkimSigner, ArcSigner and IX509CertificateDatabase APIs.
  • .NETFramework 4.6.2
    • BouncyCastle.Cryptography (>= 2.7.0)
    • MimeKit.Core (>= 5.0.0)
  • .NETFramework 4.7
    • BouncyCastle.Cryptography (>= 2.7.0)
    • MimeKit.Core (>= 5.0.0)
  • .NETFramework 4.8
    • BouncyCastle.Cryptography (>= 2.7.0)
    • MimeKit.Core (>= 5.0.0)
  • .NETFramework 8.0
    • BouncyCastle.Cryptography (>= 2.7.0)
    • MimeKit.Core (>= 5.0.0)
    • System.Security.Cryptography.Pkcs (>= 10.0.13)
  • .NETFramework 10.0
    • BouncyCastle.Cryptography (>= 2.7.0)
    • MimeKit.Core (>= 5.0.0)
    • System.Security.Cryptography.Pkcs (>= 10.0.13)
  • .NETStandard 2.0
    • BouncyCastle.Cryptography (>= 2.7.0)
    • MimeKit.Core (>= 5.0.0)
    • System.Data.DataSetExtensions (>= 4.5.0)
    • System.Security.Cryptography.Pkcs (>= 10.0.13)
  • .NETStandard 2.1
    • BouncyCastle.Cryptography (>= 2.7.0)
    • MimeKit.Core (>= 5.0.0)
    • System.Security.Cryptography.Pkcs (>= 10.0.13)
    • System.Text.Encoding.CodePages (>= 10.0.0)
  • .NETFramework 4.6.2: 4.6.2.0
  • .NETFramework 4.7: 4.7.0.0
  • .NETFramework 4.8: 4.8.0.0
  • .NETFramework 8.0: 8.0.0.0
  • .NETFramework 10.0: 10.0.0.0
  • .NETStandard 2.0: 2.0.0.0
  • .NETStandard 2.1: 2.1.0.0

Owners

jstedfast

Authors

Jeffrey Stedfast

Project URL

https://www.mimekit.net/

License

Unknown

Tags

mime encryption arc dkim dmarc security smime s/mime openpgp pgp mbox mail email parser tnef

Info

0 total downloads
0 downloads for version 5.0.0.2607
Download (2.6 MB)
NuGet 2.12 or higher
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
5.0.0.2623 2.8 MB Tue, 24 Nov 2026 04:07:16 GMT 0
5.0.0.2622 2.6 MB Tue, 24 Nov 2026 04:10:59 GMT 0
5.0.0.2621 2.6 MB Tue, 24 Nov 2026 03:10:51 GMT 0
5.0.0.2608 2.6 MB Mon, 23 Nov 2026 16:43:41 GMT 0
5.0.0.2607 2.6 MB Mon, 23 Nov 2026 16:32:23 GMT 0