BaseCipherSuitePlugin.KeyExchangeAlgorithmRSATest.Constructor C# (CSharp) Method

Constructor() private method

private Constructor ( ) : void
return void
        public void Constructor()
        {
            KeyExchangeAlgorithmRSA keyex = new KeyExchangeAlgorithmRSA();
            Assert.IsTrue (keyex.SupportsProtocolVersion(ProtocolVersion.TLS1_0));
            Assert.IsTrue (keyex.SupportsProtocolVersion(ProtocolVersion.DTLS1_0));
            Assert.IsNull (keyex.GetServerKeys(ProtocolVersion.TLS1_0));

            keyex.ProcessServerKeys(ProtocolVersion.TLS1_0, null);
        }