public CipherSuitesPolicy(IEnumerable <TlsCipherSuite> allowedCipherSuites)
        {
            if (allowedCipherSuites == null)
            {
                throw new ArgumentNullException(nameof(allowedCipherSuites));
            }

            Pal = new CipherSuitesPolicyPal(allowedCipherSuites);
        }
示例#2
0
        public CipherSuitesPolicy(IEnumerable <TlsCipherSuite> allowedCipherSuites)
        {
            ArgumentNullException.ThrowIfNull(allowedCipherSuites);

            Pal = new CipherSuitesPolicyPal(allowedCipherSuites);
        }