Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2213_irace/HeuristicLab.ExtLibs/HeuristicLab.EPPlus/4.0.3/EPPlus-4.0.3/Packaging/DotNetZip/ZipConstants.cs @ 15923

Last change on this file since 15923 was 12074, checked in by sraggl, 10 years ago

#2341: Added EPPlus-4.0.3 to ExtLibs

File size: 1.9 KB
Line 
1// ZipConstants.cs
2// ------------------------------------------------------------------
3//
4// Copyright (c) 2006, 2007, 2008, 2009 Dino Chiesa and Microsoft Corporation. 
5// All rights reserved.
6//
7// This code module is part of DotNetZip, a zipfile class library.
8//
9// ------------------------------------------------------------------
10//
11// This code is licensed under the Microsoft Public License.
12// See the file License.txt for the license details.
13// More info on: http://dotnetzip.codeplex.com
14//
15// ------------------------------------------------------------------
16//
17// last saved (in emacs):
18// Time-stamp: <2009-August-27 23:22:32>
19//
20// ------------------------------------------------------------------
21//
22// This module defines a few constants that are used in the project.
23//
24// ------------------------------------------------------------------
25
26using System;
27
28namespace OfficeOpenXml.Packaging.Ionic.Zip
29{
30  static class ZipConstants
31  {     
32    public const UInt32 PackedToRemovableMedia = 0x30304b50;
33    public const UInt32 Zip64EndOfCentralDirectoryRecordSignature = 0x06064b50;
34    public const UInt32 Zip64EndOfCentralDirectoryLocatorSignature = 0x07064b50;
35    public const UInt32 EndOfCentralDirectorySignature = 0x06054b50;
36    public const int ZipEntrySignature                 = 0x04034b50;
37    public const int ZipEntryDataDescriptorSignature   = 0x08074b50;
38    public const int SplitArchiveSignature             = 0x08074b50;
39    public const int ZipDirEntrySignature              = 0x02014b50;
40
41     
42    // These are dictated by the Zip Spec.See APPNOTE.txt
43    public const int AesKeySize = 192;  // 128, 192, 256
44    public const int AesBlockSize = 128;  // ???
45
46    public const UInt16 AesAlgId128 = 0x660E;
47    public const UInt16 AesAlgId192 = 0x660F;
48    public const UInt16 AesAlgId256 = 0x6610;
49
50  }
51}
Note: See TracBrowser for help on using the repository browser.