Example #1
0
        protected override void Arrange()
        {
            base.Arrange();

            ConfigureDpapiProvider = ConfigureCryptography
                                     .EncryptUsingDPAPIProviderNamed("dpapi provider");
        }
Example #2
0
 protected override void Act()
 {
     ConfigureCryptography
     .EncryptUsingDPAPIProviderNamed("dpapi provider");
 }
Example #3
0
 public void Then_EncryptUsingDPAPIProviderNamedThrowsArgumentException()
 {
     ConfigureCryptography
     .EncryptUsingDPAPIProviderNamed(null);
 }