1. Home
  2. /
  3. Download
  4. /
  5. Download Bouncy Castle C# .NET

Download Bouncy Castle for C# .NET

Welcome to the download page for Bouncy Castle C# .NET. In addition to the available access options, including through NuGet and direct download, you will find searchable release notes and links to API and other documentation.

Bouncy Castle C#
hero-sub-2

GitHub

Access the Bouncy Castle APIs C# .NET package on GitHub, where you can also report issues, join discussions, and contribute to the software.

Documentation 

Explore the Bouncy Castle for C# .NET and C# .NET FIPS documentation online for concise guidance and examples.

Join the discussion

You can ask questions and learn from specialists in the Bouncy Castle C# .NET forum on GitHub Discussions. We highly appreciate and value your input.

Report an issue

If you encounter any issues that require attention, feel free to report them in our GitHub repository.

Release notes

Find out detailed information about the latest release and search in older release notes.

Beta releases

The current working betas, when available, for the next release C# .NET can be found here. If you need a beta to be made available please ask by emailing feedback-crypto@bouncycastle.org.

Donate to support the Bouncy Castle APIs

Supporting Bouncy Castle is now a substantial effort, the Java API is now over 300,000 lines, the C# one well past 140,000.

Bouncy Castle C# .NET Downloads

Except where otherwise stated, this software is distributed under the regular Bouncy Castle license. For full details of other licenses involved, see Third party licenses

Distribution Files

The NuGet distribution collects all versions of BC C# .NET into one bundle.

Official NuGet Archive BouncyCastle.Cryptography 2.4.0

Specific Bouncy Castle C# .NET release for .NET 6.0.

  Binary API Documentation
.NET 6.0 BouncyCastle.Cryptography.dll BouncyCastle.Cryptography.xml

Specific Bouncy Castle C# .NET release for .NET 4.61.

  Binary  API Documentation
.NET 4.6.1 BouncyCastle.Cryptography.dll BouncyCastle.Cryptography.xml

Specific Bouncy Castle .NET C# release for .NET 2.0.

  Binary API Documentation
.NET 2.0 BouncyCastle.Cryptography.dll BouncyCastle.Cryptography.xml
Checksums

To confirm the integrity of the distributions, checksums are available:

Download Checksums

Release notes

Find out detailed information about the latest Bouncy Castle C# .NET releases and search in older release notes.  

Release 2.4.0
27 May, 2024
Defects Fixed Fixed the input length check for the CCM cipher mode. CMS: Fix recipient selection based on certificate SubjectKeyIdentifier.

Defects Fixed

  • Fixed the input length check for the CCM cipher mode.
  • CMS: Fix recipient selection based on certificate SubjectKeyIdentifier.

Additional Features and Functionality

  • Embed Picnic and Sike data in source to make it trim-friendly.
  • Auto-adjust DateTime precision for GeneralizedTime in X.509 (and OCSP).

Additional Notes

  • See the (cumulative) list of GitHub pull requests that we have accepted at bcgit/bc-csharp.