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 toIPrivateKeyDerivable
, indicating that its implementation is intended on private keys, and that something can be derived from the private key. - The
IPrivateKeyImportablePkcs8
andIPrivateKeyExportablePkcs8
interfaces have been renamed toIPrivateKeyImportable
andIPrivateKeyExportable
, since they now support import and export APIs other than PKCS8.