C# Class CertificatesToDBandBack.Crypto

Show file Open project: RELOAD-NET/RELOAD.NET

Public Methods

Method Description
DecodeRsaPrivateKey ( byte privateKeyBytes ) : RSACryptoServiceProvider

This helper function parses an RSA private key using the ASN.1 format

Method Details

DecodeRsaPrivateKey() public static method

This helper function parses an RSA private key using the ASN.1 format
public static DecodeRsaPrivateKey ( byte privateKeyBytes ) : RSACryptoServiceProvider
privateKeyBytes byte Byte array containing PEM string of private key.
return System.Security.Cryptography.RSACryptoServiceProvider