Spoleto.Cryptography.RSA 1.10.18.722

dotnet add package Spoleto.Cryptography.RSA --version 1.10.18.722
                    
NuGet\Install-Package Spoleto.Cryptography.RSA -Version 1.10.18.722
                    
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="Spoleto.Cryptography.RSA" Version="1.10.18.722" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Spoleto.Cryptography.RSA" Version="1.10.18.722" />
                    
Directory.Packages.props
<PackageReference Include="Spoleto.Cryptography.RSA" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Spoleto.Cryptography.RSA --version 1.10.18.722
                    
#r "nuget: Spoleto.Cryptography.RSA, 1.10.18.722"
                    
#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.
#:package Spoleto.Cryptography.RSA@1.10.18.722
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Spoleto.Cryptography.RSA&version=1.10.18.722
                    
Install as a Cake Addin
#tool nuget:?package=Spoleto.Cryptography.RSA&version=1.10.18.722
                    
Install as a Cake Tool

Spoleto.Cryptography.RSA

The helper for creating X509 certificates from a body and a private key in PEM format for .NET Core 3.1.
Methods are also available: Sign, Verify data based on PEM.

Examples:

// Create certificate from the body and the private key in PEM format:
var certificate = RSACryptoPemHelper.CreateCertificate(certificatePemText, privateKeyPemText);

var data = "The string to sign";

// Sign data by the private key:
var signedData = RSACryptoPemHelper.Sign(privateKeyPemText, data);

// Verify signed data by the public key in the certificate:
var isVerified = RSACryptoPemHelper.Verify(certificatePemText, data, signedData);

Unit tests

You can find the unit tests here:
https://github.com/spoleto-software/Spoleto.Cryptography.RSA/tree/main/src/Spoleto.Cryptography.Rsa.Tests

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Spoleto.Cryptography.RSA:

Package Downloads
Spoleto.FastPayments.AlfaBank

C# SDK для интеграции с системой быстрых платежей для API Альфа-Банка. The project for integration with Fast Payment System based on the AlfaBank host.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.10.18.722 2,015 10/18/2022
1.10.12.1420 2,071 10/12/2022
1.10.12.1412 550 10/12/2022
1.10.12.1405 510 10/12/2022
1.10.12.1403 528 10/12/2022
1.10.12.1359 510 10/12/2022
1.10.12.1346 568 10/12/2022
1.10.12.1339 545 10/12/2022
1.10.12.1332 528 10/12/2022
1.10.12.1329 536 10/12/2022
1.10.12.1325 516 10/12/2022
1.10.11.2125 545 10/11/2022
1.10.11.2124 522 10/11/2022
1.10.11.2123 552 10/11/2022
1.10.11.2122 535 10/11/2022
1.10.11.2118 535 10/11/2022
1.10.11.2046 535 10/11/2022