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

Side by Side Diff: components/webcrypto/algorithms/rsa.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « components/webcrypto/algorithms/pbkdf2.cc ('k') | components/webcrypto/algorithms/rsa_oaep.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_WEBCRYPTO_ALGORITHMS_RSA_H_ 5 #ifndef COMPONENTS_WEBCRYPTO_ALGORITHMS_RSA_H_
6 #define COMPONENTS_WEBCRYPTO_ALGORITHMS_RSA_H_ 6 #define COMPONENTS_WEBCRYPTO_ALGORITHMS_RSA_H_
7 7
8 #include <stdint.h>
9
8 #include "components/webcrypto/algorithm_implementation.h" 10 #include "components/webcrypto/algorithm_implementation.h"
9 11
10 namespace webcrypto { 12 namespace webcrypto {
11 13
12 // Base class for an RSA algorithm whose keys additionaly have a hash parameter 14 // Base class for an RSA algorithm whose keys additionaly have a hash parameter
13 // bound to them. Provides functionality for generating, importing, and 15 // bound to them. Provides functionality for generating, importing, and
14 // exporting keys. 16 // exporting keys.
15 class RsaHashedAlgorithm : public AlgorithmImplementation { 17 class RsaHashedAlgorithm : public AlgorithmImplementation {
16 public: 18 public:
17 // |all_public_key_usages| and |all_private_key_usages| are the set of 19 // |all_public_key_usages| and |all_private_key_usages| are the set of
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 blink::WebCryptoKey* key) const override; 79 blink::WebCryptoKey* key) const override;
78 80
79 private: 81 private:
80 const blink::WebCryptoKeyUsageMask all_public_key_usages_; 82 const blink::WebCryptoKeyUsageMask all_public_key_usages_;
81 const blink::WebCryptoKeyUsageMask all_private_key_usages_; 83 const blink::WebCryptoKeyUsageMask all_private_key_usages_;
82 }; 84 };
83 85
84 } // namespace webcrypto 86 } // namespace webcrypto
85 87
86 #endif // COMPONENTS_WEBCRYPTO_ALGORITHMS_RSA_H_ 88 #endif // COMPONENTS_WEBCRYPTO_ALGORITHMS_RSA_H_
OLDNEW
« no previous file with comments | « components/webcrypto/algorithms/pbkdf2.cc ('k') | components/webcrypto/algorithms/rsa_oaep.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698