Automated Commit: Committing new LKGM version 6953.0.0 for chromeos.
[chromium-blink-merge.git] / components / crx_file / constants.h
blobcae0bc3be47035232f72cc8040ae7a99bfe13950
1 // Copyright 2014 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.
5 #ifndef COMPONENTS_CRX_FILE_CONSTANTS_H_
6 #define COMPONENTS_CRX_FILE_CONSTANTS_H_
8 #include "base/basictypes.h"
10 namespace crx_file {
12 // Note: this structure is an ASN.1 which encodes the algorithm used
13 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447).
14 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL }
15 const uint8 kSignatureAlgorithm[15] = {0x30, 0x0d, 0x06, 0x09, 0x2a,
16 0x86, 0x48, 0x86, 0xf7, 0x0d,
17 0x01, 0x01, 0x05, 0x05, 0x00};
19 } // namespace crx_file
21 #endif // COMPONENTS_CRX_FILE_CONSTANTS_H_