ServiceStack.RsaUtils.CreateRsa C# (CSharp) Method

CreateRsa() private static method

private static CreateRsa ( RsaKeyLengths rsaKeyLength ) : RSA
rsaKeyLength RsaKeyLengths
return System.Security.Cryptography.RSA
        private static RSA CreateRsa(RsaKeyLengths rsaKeyLength)
        {
            var rsa = RSA.Create();
            rsa.KeySize = (int)rsaKeyLength;
            return rsa;
        }