Skip to content

Instantly share code, notes, and snippets.

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