public void DoDecryptNonWritableDataAsyncTest() { TestUtilities.AsyncTestWrapper(TestContext, () => { var target = new InheritedProtectedKeyCipher(); target.PublicDoDecryptAsync(new MemoryStream(new byte[10]), TestUtilities.CreateNonWritableStream()).Wait(); }); }
public void BeforeReadDecryptedNonReadableStreamAsyncTest() { TestUtilities.AsyncTestWrapper(TestContext, () => { var target = new InheritedProtectedKeyCipher(); target.PublicBeforeReadDecryptedAsync(TestUtilities.CreateNonReadableStream()).Wait(); }); }
public void DoDecryptNullCryptoAsyncTest() { TestUtilities.AsyncTestWrapper(TestContext, () => { var target = new InheritedProtectedKeyCipher(); target.PublicDoDecryptAsync(null, new MemoryStream(new byte[10])).Wait(); }); }
public void BeforeWriteEncryptedNullStreamAsyncTest() { TestUtilities.AsyncTestWrapper(TestContext, () => { var target = new InheritedProtectedKeyCipher(); target.PublicBeforeWriteEncryptedAsync(null).Wait(); }); }
public void DoDecryptNonWritableDataTest() { var target = new InheritedProtectedKeyCipher(); target.PublicDoDecrypt(new MemoryStream(new byte[10]), TestUtilities.CreateNonWritableStream()); }
public void DoDecryptNonReadableCryptoTest() { var target = new InheritedProtectedKeyCipher(); target.PublicDoDecrypt(TestUtilities.CreateNonReadableStream(), new MemoryStream(new byte[10])); }
public void CreateDecryptingStreamNonReadableTest() { var target = new InheritedProtectedKeyCipher(); target.PublicCreateDecryptingStream(TestUtilities.CreateNonReadableStream()); }
public void BeforeReadDecryptedNonReadableStreamTest() { var target = new InheritedProtectedKeyCipher(); target.PublicBeforeReadDecrypted(TestUtilities.CreateNonReadableStream()); }