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