예제 #1
0
        public void CanCreateCustomHashProviderNodeByData()
        {
            INodeCreationService   nodeCreationService    = ServiceHelper.GetNodeCreationService(ServiceProvider);
            CustomHashProviderNode customHashProviderNode = nodeCreationService.CreateNodeByDataType(typeof(CustomHashProviderData)) as CustomHashProviderNode;

            Assert.IsNotNull(customHashProviderNode);
        }
예제 #2
0
        public void CanCreateSymmetricAlgorithmProviderNodeByData()
        {
            INodeCreationService           nodeCreationService    = ServiceHelper.GetNodeCreationService(ServiceProvider);
            SymmetricAlgorithmProviderNode symmetricAlgorithmNode = nodeCreationService.CreateNodeByDataType(typeof(SymmetricAlgorithmProviderData)) as SymmetricAlgorithmProviderNode;

            Assert.IsNotNull(symmetricAlgorithmNode);
        }
        public void CanCreateSymmetricStorageEncryptionProviderNodeByData()
        {
            INodeCreationService nodeCreationService    = ServiceHelper.GetNodeCreationService(ServiceProvider);
            SymmetricStorageEncryptionProviderNode node = nodeCreationService.CreateNodeByDataType(typeof(SymmetricStorageEncryptionProviderData)) as SymmetricStorageEncryptionProviderNode;

            Assert.IsNotNull(node);
        }
        public void CanCreateHashAlgorithmProviderNodeByData()
        {
            INodeCreationService      nodeCreationService       = ServiceHelper.GetNodeCreationService(ServiceProvider);
            HashAlgorithmProviderNode hashAlgorithmProviderNode = nodeCreationService.CreateNodeByDataType(typeof(HashAlgorithmProviderData)) as HashAlgorithmProviderNode;

            Assert.IsNotNull(hashAlgorithmProviderNode);
        }
예제 #5
0
        public void CanCreateDpapiSymmetricCryptoProviderNodeByData()
        {
            INodeCreationService             nodeCreationService = ServiceHelper.GetNodeCreationService(ServiceProvider);
            DpapiSymmetricCryptoProviderNode dpapiProviderNode   = nodeCreationService.CreateNodeByDataType(typeof(DpapiSymmetricCryptoProviderData)) as DpapiSymmetricCryptoProviderNode;

            Assert.IsNotNull(dpapiProviderNode);
        }