16 references to CryptoStreamMode
mscorlib (9)
system\security\cryptography\cryptostream.cs (5)
43
private
CryptoStreamMode
_transformMode;
51
public CryptoStream(Stream stream, ICryptoTransform transform,
CryptoStreamMode
mode)
55
public CryptoStream(Stream stream, ICryptoTransform transform,
CryptoStreamMode
mode, bool leaveOpen) {
61
case
CryptoStreamMode
.Read:
65
case
CryptoStreamMode
.Write:
system\security\cryptography\mactripledes.cs (2)
103
_cs = new CryptoStream(_ts, m_encryptor,
CryptoStreamMode
.Write);
116
_cs = new CryptoStream(_ts, m_encryptor,
CryptoStreamMode
.Write);
system\security\cryptography\passwordderivebytes.cs (2)
270
using (CryptoStream cs = new CryptoStream(Stream.Null, _hash,
CryptoStreamMode
.Write)) {
281
using (CryptoStream cs = new CryptoStream(Stream.Null, _hash,
CryptoStreamMode
.Write)) {
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlAeadAes256CbcHmac256Algorithm.cs (1)
354
using (CryptoStream csDecrypt = new CryptoStream(msDecrypt, decryptor,
CryptoStreamMode
.Write)) {
System.Security (3)
system\security\cryptography\dataprotector.cs (1)
88
using (BinaryWriter stream = new BinaryWriter(new CryptoStream(new MemoryStream(), sha256,
CryptoStreamMode
.Write), new UTF8Encoding(false, true)))
system\security\cryptography\xml\transform.cs (2)
620
_cs = new CryptoStream(ms, new FromBase64Transform(),
CryptoStreamMode
.Read);
644
_cs = new CryptoStream(ms, new FromBase64Transform(),
CryptoStreamMode
.Read);
System.Web (3)
Configuration\MachineKeySection.cs (1)
543
CryptoStream cs = new CryptoStream(ms, cryptoTransform,
CryptoStreamMode
.Write);
Security\Cryptography\NetFXCryptoService.cs (2)
77
using (CryptoStream cryptoStream = new CryptoStream(memStream, encryptor,
CryptoStreamMode
.Write)) {
168
using (CryptoStream cryptoStream = new CryptoStream(memStream, decryptor,
CryptoStreamMode
.Write)) {