public void AddCryptographySettingsCommandAddsSymmetricCryptoProviderCollection()
        {
            AddCryptographySettingsNodeCommand cmd = new AddCryptographySettingsNodeCommand(ServiceProvider);
            cmd.Execute(ApplicationNode);

            SymmetricCryptoProviderCollectionNode symmetricCryptographyCollectionNode = (SymmetricCryptoProviderCollectionNode)Hierarchy.FindNodeByType(typeof(SymmetricCryptoProviderCollectionNode));

            Assert.IsNotNull(symmetricCryptographyCollectionNode);
        }
        public void AddCryptographySettingsCommandAddsHashProviderCollection()
        {
            AddCryptographySettingsNodeCommand cmd = new AddCryptographySettingsNodeCommand(ServiceProvider);
            cmd.Execute(ApplicationNode);

            HashProviderCollectionNode hashProviderCollectionNode = (HashProviderCollectionNode)Hierarchy.FindNodeByType(typeof(HashProviderCollectionNode));

            Assert.IsNotNull(hashProviderCollectionNode);
        }
예제 #3
0
        public void AddCryptographySettingsCommandAddsSymmetricCryptoProviderCollection()
        {
            AddCryptographySettingsNodeCommand cmd = new AddCryptographySettingsNodeCommand(ServiceProvider);

            cmd.Execute(ApplicationNode);

            SymmetricCryptoProviderCollectionNode symmetricCryptographyCollectionNode = (SymmetricCryptoProviderCollectionNode)Hierarchy.FindNodeByType(typeof(SymmetricCryptoProviderCollectionNode));

            Assert.IsNotNull(symmetricCryptographyCollectionNode);
        }
예제 #4
0
        public void AddCryptographySettingsCommandAddsHashProviderCollection()
        {
            AddCryptographySettingsNodeCommand cmd = new AddCryptographySettingsNodeCommand(ServiceProvider);

            cmd.Execute(ApplicationNode);

            HashProviderCollectionNode hashProviderCollectionNode = (HashProviderCollectionNode)Hierarchy.FindNodeByType(typeof(HashProviderCollectionNode));

            Assert.IsNotNull(hashProviderCollectionNode);
        }