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.
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.
// Install Spoleto.Cryptography.RSA as a Cake Addin
#addin nuget:?package=Spoleto.Cryptography.RSA&version=1.10.18.722

// Install Spoleto.Cryptography.RSA as a Cake Tool
#tool nuget:?package=Spoleto.Cryptography.RSA&version=1.10.18.722                

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. 
.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 1,779 10/18/2022
1.10.12.1420 1,874 10/12/2022
1.10.12.1412 420 10/12/2022
1.10.12.1405 400 10/12/2022
1.10.12.1403 419 10/12/2022
1.10.12.1359 414 10/12/2022
1.10.12.1346 433 10/12/2022
1.10.12.1339 415 10/12/2022
1.10.12.1332 422 10/12/2022
1.10.12.1329 417 10/12/2022
1.10.12.1325 413 10/12/2022
1.10.11.2125 431 10/11/2022
1.10.11.2124 411 10/11/2022
1.10.11.2123 430 10/11/2022
1.10.11.2122 427 10/11/2022
1.10.11.2118 427 10/11/2022
1.10.11.2046 432 10/11/2022