public static IRSA CreateWithPrivateKeyInJson(string key) => new RsaFunction(RsaKeyGenerator.GeneratePrivateKeyInJson(key));
/// <summary> /// Generate JSON Format RSA private key. /// </summary> /// <param name="keySize"></param> /// <returns></returns> public static RsaKey GeneratePrivateKeyInJson(RsaKeySize keySize) => RsaKeyGenerator.GeneratePrivateKeyInJson(keySize);
/// <summary> /// Generate JSON Format RSA private key. /// </summary> /// <param name="key"></param> /// <returns></returns> public static RsaKey GeneratePrivateKeyInJson(string key) => RsaKeyGenerator.GeneratePrivateKeyInJson(key);
/// <summary> /// Generate JSON Format RSA private key. /// </summary> /// <returns></returns> public static RsaKey GeneratePrivateKeyInJson() => RsaKeyGenerator.GeneratePrivateKeyInJson();