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.6.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.6.0
15 May, 2025
Defects Fixed Ascon XOFs: Fix failure when output ‘split’ on 8-byte boundary. AsconCXof128: Fix initialization from context. CMS: Fixed CmsSign...

Defects Fixed

  • Ascon XOFs: Fix failure when output ‘split’ on 8-byte boundary.
  • AsconCXof128: Fix initialization from context.
  • CMS: Fixed CmsSignedData.AddDigestAlgorithm (was failing to retain existing algorithms).
  • HQC: Fixed a bug in the ReedSolomon implementation.
  • X.509: Fix exception when comparing two empty X509Name instances.

Additional Features and Functionality

  • Blake2: X86 intrinsics implementation.
  • CMS: Preserve digest alg. IDs when modifying existing signed-data.
  • CMS: Support for Plain-ECDSA in signed-data.
  • CMS: Draft support for Ed25519 in signed-data per RFC 8419 (except streaming classes).
  • CMS: Draft support for ML-DSA in signed-data per draft-ietf-lamps-cms-ml-dsa-03 (except streaming classes).
  • CMS: Draft support for SLH-DSA in signed-data per draft-ietf-lamps-cms-sphincs-plus-19 (except streaming classes).
  • HQC: Updated to 2024-10-30 reference implementation.
  • Pkcs12Store: Support for no certificate encryption.
  • Pkcs12Store: Support PBES2 + PBKDF2 for certificate encryption.
  • Pkcs12Store: Add builder option to disable use of Oracle's TrustedKeyUsage attribute.
  • PQC: Updated private key format(s) for ML-DSA, ML-KEM.
  • X.509: Support SubjectAlternativeNames filter in X509CertStoreSelector.

Additional Notes

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