blob: 4e258e125b77d6563cfb5c80baced711fc662145 [file] [log] [blame]
Joshua Pawlickib8bc9f92017-10-16 17:23:521// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef COMPONENTS_CRX_FILE_CRX_FILE_H_
6#define COMPONENTS_CRX_FILE_CRX_FILE_H_
7
8namespace crx_file {
9
10// The magic string embedded in the header.
11constexpr char kCrxFileHeaderMagic[] = "Cr24";
12constexpr char kCrxDiffFileHeaderMagic[] = "CrOD";
13constexpr int kCrxFileHeaderMagicSize = 4;
14constexpr unsigned char kSignatureContext[] = u8"CRX3 SignedData";
15
16} // namespace crx_file
17
18#endif // COMPONENTS_CRX_FILE_CRX_FILE_H_