Example #1
0
        public X509Reader(PublicKeyReaderRegistry keyReaderRegistry, byte[] input)
        {
            SecurityAssert.NotNull(input);

            _keyReaderRegistry = keyReaderRegistry;
            _input             = input;
        }
        public CertificateManager(
            PublicKeyReaderRegistry publicKeyReaderRegistry,
            PrivateKeyReaderRegistry privateKeyReaderRegistry)
        {
            _publicKeyReaderRegistry  = publicKeyReaderRegistry;
            _privateKeyReaderRegistry = privateKeyReaderRegistry;

            _certificates = new List <X509Certificate>();
            _keys         = new Dictionary <PublicKey, PrivateKey>();
        }
        public HandshakeReader(
            ICipherSuitesProvider cipherSuitesProvider,
            PublicKeyReaderRegistry publicKeyReaderRegistry,

            HandshakeConfig handshakeConfig,
            CipherSuiteConfig cipherSuiteConfig)
        {
            _cipherSuitesProvider    = cipherSuitesProvider;
            _publicKeyReaderRegistry = publicKeyReaderRegistry;

            _handshakeConfig   = handshakeConfig;
            _cipherSuiteConfig = cipherSuiteConfig;
        }