Spoleto.Cryptography.RSA 3.0.0

dotnet add package Spoleto.Cryptography.RSA --version 3.0.0
                    
NuGet\Install-Package Spoleto.Cryptography.RSA -Version 3.0.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="Spoleto.Cryptography.RSA" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Spoleto.Cryptography.RSA" Version="3.0.0" />
                    
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 3.0.0
                    
#r "nuget: Spoleto.Cryptography.RSA, 3.0.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.
#:package Spoleto.Cryptography.RSA@3.0.0
                    
#: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=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Spoleto.Cryptography.RSA&version=3.0.0
                    
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
3.0.0 0 7/21/2026
1.10.18.722 2,110 10/18/2022
1.10.12.1420 2,140 10/12/2022
1.10.12.1412 624 10/12/2022
1.10.12.1405 585 10/12/2022
1.10.12.1403 597 10/12/2022
1.10.12.1359 562 10/12/2022
1.10.12.1346 630 10/12/2022
1.10.12.1339 614 10/12/2022
1.10.12.1332 595 10/12/2022
1.10.12.1329 597 10/12/2022
1.10.12.1325 573 10/12/2022
1.10.11.2125 613 10/11/2022
1.10.11.2124 590 10/11/2022
1.10.11.2123 618 10/11/2022
1.10.11.2122 598 10/11/2022
1.10.11.2118 606 10/11/2022
1.10.11.2046 597 10/11/2022