dotnet add package Spoleto.Cryptography.RSA --version 126.96.36.1992
NuGet\Install-Package Spoleto.Cryptography.RSA -Version 188.8.131.522
<PackageReference Include="Spoleto.Cryptography.RSA" Version="184.108.40.2062" />
paket add Spoleto.Cryptography.RSA --version 220.127.116.112
#r "nuget: Spoleto.Cryptography.RSA, 18.104.22.1682"
// Install Spoleto.Cryptography.RSA as a Cake Addin #addin nuget:?package=Spoleto.Cryptography.RSA&version=22.214.171.1242 // Install Spoleto.Cryptography.RSA as a Cake Tool #tool nuget:?package=Spoleto.Cryptography.RSA&version=126.96.36.1992
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.
// 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);
You can find the unit tests here:
|Product||Versions 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-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.|
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Spoleto.Cryptography.RSA:
C# SDK для интеграции с системой быстрых платежей для API Альфа-Банка. The project for integration with Fast Payment System based on the AlfaBank host.
This package is not used by any popular GitHub repositories.