Skip to content

Instantly share code, notes, and snippets.

@brankosimic
brankosimic / RSACryptoServiceProviderExtensions.cs
Created Jan 31, 2019 — forked from Jargon64/RSACryptoServiceProviderExtensions.cs
RSACryptoServiceProvider Extension to add FromXmlString and ToXmlString methods for ASP.NET Core
View RSACryptoServiceProviderExtensions.cs
using System;
using System.Security.Cryptography;
using System.Xml;
namespace RSACryptoServiceProviderExtensions
{
public static class RSACryptoServiceProviderExtensions
{
public static void FromXmlString(this RSACryptoServiceProvider rsa, string xmlString)
{