Renci.SshNet.Security.Cryptography.Ciphers.RsaCipher.RsaCipher C# (CSharp) Method

RsaCipher() public method

Initializes a new instance of the RsaCipher class.
public RsaCipher ( RsaKey key ) : System
key RsaKey The RSA key.
return System
        public RsaCipher(RsaKey key)
        {
            if (key == null)
                throw new ArgumentNullException("key");

            _key = key;
            _isPrivate = !_key.D.IsZero;
        }