public RSAParameters GetParameters() => RsaKeyEncoder.Decode(Key);
Exemple #2
0
 /// <summary>
 /// Constructor, accepts encoded key, only stores public part of the key
 /// </summary>
 /// <param name="key">Encoded key</param>
 public RsaPublicKey(string key) : this(RsaKeyEncoder.Decode(key))
 {
 }