1 instantiation of ZipCryptoKeys
System.IO.Compression (1)
System\IO\Compression\ZipCryptoStream.cs (1)
144return new ZipCryptoKeys(key0, key1, key2);
13 references to ZipCryptoKeys
System.IO.Compression (13)
System\IO\Compression\ZipArchiveEntry.Async.cs (4)
224ZipCryptoKeys? zipCryptoKeys = null; 267async Task<Stream> OpenInReadModeAsyncCore(bool checkOpenable, WinZipAesKeyMaterial? aesKeys, ZipCryptoKeys? zipCryptoKeys, byte zipCryptoCheckByte, CancellationToken cancellationToken) 558ZipCryptoKeys keys = ZipCryptoStream.CreateKey(password); 570private async Task<Stream> DecryptAndStoreForUpdateWithZipCryptoAsync(ZipCryptoKeys keys, byte checkByte, CancellationToken cancellationToken)
System\IO\Compression\ZipArchiveEntry.cs (3)
55private ZipCryptoKeys? _derivedZipCryptoKeyMaterial; 1110ZipCryptoKeys keyMaterial = ZipCryptoStream.CreateKey(password); 1216ZipCryptoKeys keyMaterial = _derivedZipCryptoKeyMaterial
System\IO\Compression\ZipCryptoStream.cs (6)
63internal static ZipCryptoStream Create(Stream baseStream, ZipCryptoKeys keys, byte expectedCheckByte, bool encrypting, bool leaveOpen = false) 75internal static async Task<ZipCryptoStream> CreateAsync(Stream baseStream, ZipCryptoKeys keys, byte expectedCheckByte, bool encrypting, CancellationToken cancellationToken = default, bool leaveOpen = false) 88ZipCryptoKeys keys, 102ZipCryptoKeys keys, 119internal static ZipCryptoKeys CreateKey(ReadOnlySpan<char> password) 203private static async Task<(uint key0, uint key1, uint key2)> ReadAndValidateHeaderCore(bool isAsync, Stream baseStream, ZipCryptoKeys keys, byte expectedCheckByte, CancellationToken cancellationToken)