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