1 instantiation of ZipCryptoKeys
System.IO.Compression (1)
System\IO\Compression\ZipCryptoStream.cs (1)
145
return new
ZipCryptoKeys
(key0, key1, key2);
13 references to ZipCryptoKeys
System.IO.Compression (13)
System\IO\Compression\ZipArchiveEntry.Async.cs (4)
210
ZipCryptoKeys
? zipCryptoKeys = null;
253
async Task<Stream> OpenInReadModeAsyncCore(bool checkOpenable, WinZipAesKeyMaterial? aesKeys,
ZipCryptoKeys
? zipCryptoKeys, byte zipCryptoCheckByte, CancellationToken cancellationToken)
528
ZipCryptoKeys
keys = ZipCryptoStream.CreateKey(password);
540
private async Task<Stream> DecryptAndStoreForUpdateWithZipCryptoAsync(
ZipCryptoKeys
keys, byte checkByte, CancellationToken cancellationToken)
System\IO\Compression\ZipArchiveEntry.cs (3)
55
private
ZipCryptoKeys
? _derivedZipCryptoKeyMaterial;
1096
ZipCryptoKeys
keyMaterial = ZipCryptoStream.CreateKey(password);
1202
ZipCryptoKeys
keyMaterial = _derivedZipCryptoKeyMaterial
System\IO\Compression\ZipCryptoStream.cs (6)
64
internal static ZipCryptoStream Create(Stream baseStream,
ZipCryptoKeys
keys, byte expectedCheckByte, bool encrypting, bool leaveOpen = false)
76
internal static async Task<ZipCryptoStream> CreateAsync(Stream baseStream,
ZipCryptoKeys
keys, byte expectedCheckByte, bool encrypting, CancellationToken cancellationToken = default, bool leaveOpen = false)
89
ZipCryptoKeys
keys,
103
ZipCryptoKeys
keys,
120
internal static
ZipCryptoKeys
CreateKey(ReadOnlySpan<char> password)
204
private static async Task<(uint key0, uint key1, uint key2)> ReadAndValidateHeaderCore(bool isAsync, Stream baseStream,
ZipCryptoKeys
keys, byte expectedCheckByte, CancellationToken cancellationToken)