public void CanCreateCustomHashProviderNodeByData() { INodeCreationService nodeCreationService = ServiceHelper.GetNodeCreationService(ServiceProvider); CustomHashProviderNode customHashProviderNode = nodeCreationService.CreateNodeByDataType(typeof(CustomHashProviderData)) as CustomHashProviderNode; Assert.IsNotNull(customHashProviderNode); }
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); }
public void CanCreateDpapiSymmetricCryptoProviderNodeByData() { INodeCreationService nodeCreationService = ServiceHelper.GetNodeCreationService(ServiceProvider); DpapiSymmetricCryptoProviderNode dpapiProviderNode = nodeCreationService.CreateNodeByDataType(typeof(DpapiSymmetricCryptoProviderData)) as DpapiSymmetricCryptoProviderNode; Assert.IsNotNull(dpapiProviderNode); }