コード例 #1
0
        public SignatureAlgorithmsExtension(
            ICipherSuitesProvider cipherSuiteProvider,
            CipherSuitesRegistry cipherSuitesRegistry,

            HashAlgorithmRegistry hashAlgorithmRegistry,
            SignatureAlgorithmsRegistry signatureAlgorithmsRegistry,

            EndConfig endConfig,
            Config config)
        {
            _cipherSuiteProvider  = cipherSuiteProvider;
            _cipherSuitesRegistry = cipherSuitesRegistry;

            _hashAlgorithmRegistry       = hashAlgorithmRegistry;
            _signatureAlgorithmsRegistry = signatureAlgorithmsRegistry;

            _endConfig = endConfig;
            _config    = config;
        }
コード例 #2
0
        public CipherSuitesProvider(
            CipherSuitesRegistry registry,

            CipherAlgorithmRegistry cipherAlgorithmRegistry,
            HashAlgorithmRegistry hashAlgorithmRegistry,
            PRFHashRegistry prfHashRegistry,
            SignatureAlgorithmsRegistry signatureAlgorithmsRegistry,
            IKeyExchangeProvider keyExchangeProvider,

            ICipherParameterFactoryProvider cipherParameterFactoryProvider,
            ISignatureCipherParameterFactoryProvider signatureCipherParameterFactoryProvider)
        {
            _registry = registry;

            _cipherAlgorithmRegistry     = cipherAlgorithmRegistry;
            _hashAlgorithmRegistry       = hashAlgorithmRegistry;
            _prfHashRegistry             = prfHashRegistry;
            _signatureAlgorithmsRegistry = signatureAlgorithmsRegistry;
            _keyExchangeProvider         = keyExchangeProvider;

            _cipherParameterFactoryProvider          = cipherParameterFactoryProvider;
            _signatureCipherParameterFactoryProvider = signatureCipherParameterFactoryProvider;
        }