Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1659)

Unified Diff: components/crx_file/constants.h

Issue 1679873005: Switch SignatureVerifier to taking an algorithm enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix iOS build Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/crx_file/BUILD.gn ('k') | components/crx_file/crx_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crx_file/constants.h
diff --git a/components/crx_file/constants.h b/components/crx_file/constants.h
deleted file mode 100644
index 1cc6ede706a13d4de648fe9d6e27a7054794c407..0000000000000000000000000000000000000000
--- a/components/crx_file/constants.h
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_CRX_FILE_CONSTANTS_H_
-#define COMPONENTS_CRX_FILE_CONSTANTS_H_
-
-#include <stdint.h>
-
-namespace crx_file {
-
-// Note: this structure is an ASN.1 which encodes the algorithm used
-// with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447).
-// It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL }
-const uint8_t kSignatureAlgorithm[15] = {0x30, 0x0d, 0x06, 0x09, 0x2a,
- 0x86, 0x48, 0x86, 0xf7, 0x0d,
- 0x01, 0x01, 0x05, 0x05, 0x00};
-
-} // namespace crx_file
-
-#endif // COMPONENTS_CRX_FILE_CONSTANTS_H_
« no previous file with comments | « components/crx_file/BUILD.gn ('k') | components/crx_file/crx_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698