PkcsExtensions 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package PkcsExtensions --version 1.1.0
NuGet\Install-Package PkcsExtensions -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PkcsExtensions" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PkcsExtensions --version 1.1.0
#r "nuget: PkcsExtensions, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PkcsExtensions as a Cake Addin
#addin nuget:?package=PkcsExtensions&version=1.1.0

// Install PkcsExtensions as a Cake Tool
#tool nuget:?package=PkcsExtensions&version=1.1.0

PKCS extensions for .Net Standard, .Net Core and Blazor BCL without external dependencies.
Code is focused for AOT compilation, IL linking and using with Blazor (small library, avoid reflection, minimalize internal code dependencies).

Features

  • Namespace PkcsExtensions:
    • ECDsaExtensions - export keys to DER/PEM format on ECDsa.
    • HashAlgorithmConvertor - convert HashAlgorithmName to OID, implementation,...
    • HexConvertor - convert from/to hexadecimal.
    • PemFormater - helper class to convert DER to PEM and back.
    • RSAExtensions - export keys to DER/PEM format on RSA.
    • SecureStringHelper - safe provide SecureString.
  • Namespace PkcsExtensions.Algorithms:
    • DigestRandomGenerator - Secure random generator based on hash algorithm (inspired from Bauncy Castle). Is helpful for password generation and entropy collection.
    • HashAlgorithmExtensions - More friendly extensions for HashAlgorithm types.
    • RngRandomGenerator - wrapper to RandomNumberGenerator
    • SP800_108 - Standard KDF function in counter mode (inspired from Inferno library).
  • Namespace PkcsExtensions.ASN1 - ASN.1 writer and reader from Microsoft corefx repository.
  • Namespace PkcsExtensions.Pkcs1:
    • Pkcs1DigestInfo - Is helpful for RSA signing using SmartCards through PKCS#11.
  • Namespace PkcsExtensions.Pkcs7 - Missing features for SignedCms.
  • Namespace PkcsExtensions.X509Certificates:
    • X509Certificate2Extensions - X509Certificate2 extensions for determine the usage of certificate.
    • X509Certificate2EncodeExtensions - encode (DER/PEM) extension for X509Certificate2
    • X509Certificate2NameInfoExtensions - X509Certificate2 extensions for extract values by OID from isser and subject name - method GetNameInfo.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on PkcsExtensions:

Package Downloads
Harrison314.EntityFrameworkCore.Encryption

This library adds transparent data encryption to Entity Framework Core 6.0 inspired Always Encrypted from MS SQL Server. Work with any database and using standard cryptographic algorithms (AES, HMAC SHA, SP800-108, PBKDF-2,...).

PkcsExtensions.Blazor

PKCS Extensions for Blazor WebAssembly, include light interop to WebCrypto.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.0 249 11/14/2023
1.2.2 5,927 11/24/2021
1.2.1 538 7/8/2021
1.2.0 571 10/26/2020
1.1.0 709 6/2/2020
1.0.0 730 5/21/2020

1.1.0 - Add support for nullable reference types. Fix ExportECPrivateKey method. Improve security in HexConvertor. Add new methods to HashAlgorithmConvertor.