1 write to _cryptoProvider
WindowsBase (1)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (1)
319
_cryptoProvider
= cryptoProvider;
14 references to _cryptoProvider
WindowsBase (14)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (14)
60
_cryptoProvider
.CanDecrypt;
89
_cryptoProvider
.CanDecrypt &&
90
_cryptoProvider
.CanEncrypt;
584
int blockSize =
_cryptoProvider
.BlockSize;
588
CalcBlockData(start, count,
_cryptoProvider
.CanMergeBlocks,
618
_cryptoProvider
.BlockSize); // we are guaranteed to get at least that much, unless the end of stream is encountered
620
if (bytesRead <
_cryptoProvider
.BlockSize)
632
int readCryptoBlockSize =
_cryptoProvider
.BlockSize;
636
if (
_cryptoProvider
.CanMergeBlocks)
651
byte[] clearTextBlock =
_cryptoProvider
.Decrypt(cryptoTextBlock);
675
int blockSize =
_cryptoProvider
.BlockSize;
798
int blockSize =
_cryptoProvider
.BlockSize;
802
CalcBlockData(dirtyBlockOffset, dirtyBlockSize,
_cryptoProvider
.CanMergeBlocks,
826
byte[] cryptoTextBuffer =
_cryptoProvider
.Encrypt(clearTextBuffer);