Skip to content

Version 11.0.0

Latest
Compare
Choose a tag to compare
@MrMatthewLayton MrMatthewLayton released this 18 Dec 00:23
· 0 commits to main since this release

ONIXLabs DotNET Library 11

We are excited to announce the release of ONIXLabs .NET Library version 11, now available on NuGet.

Core Updates

New extension methods have been added to obtain DateOnly and TimeOnly components from DateTime instances.

Security.Cryptography Updates

The existing public/private key import/export APIs have been overhauled to provide a cleaner, more consistent, and more robust experience for importing and exporting public and private keys. This now includes support for binary, PKCS8 and PEM imports and exports, including support for encrypted imports and exports.

Breaking Changes

  • The IPublicKeyExportable interface was originally implemented by private keys from which a public key could be derived. Since this interface name needed to be repurposed for public key implementations that can be exported, the interface name has changed to IPrivateKeyDerivable, indicating that its implementation is intended on private keys, and that something can be derived from the private key.
  • The IPrivateKeyImportablePkcs8 and IPrivateKeyExportablePkcs8 interfaces have been renamed to IPrivateKeyImportable and IPrivateKeyExportable, since they now support import and export APIs other than PKCS8.