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

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