Example #1
0
 /// <summary>
 /// Generate JSON Format RSA public key.
 /// </summary>
 /// <param name="keySize"></param>
 /// <returns></returns>
 public static RsaKey GeneratePublicKeyInJson(RsaKeySize keySize) => Factory.GeneratePublicKeyInJson(keySize);
Example #2
0
 /// <summary>
 /// Generate JSON Format RSA public key.
 /// </summary>
 /// <param name="key"></param>
 /// <returns></returns>
 public static RsaKey GeneratePublicKeyInJson(string key) => Factory.GeneratePublicKeyInJson(key);
Example #3
0
 /// <summary>
 /// Generate JSON Format RSA public key.
 /// </summary>
 /// <returns></returns>
 public static RsaKey GeneratePublicKeyInJson() => Factory.GeneratePublicKeyInJson();