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

Unified Diff: net/cert/internal/signature_algorithm.h

Issue 1493553003: Remove SignatureAlgorithm::Equals() and associated functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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 | « no previous file | net/cert/internal/signature_algorithm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/signature_algorithm.h
diff --git a/net/cert/internal/signature_algorithm.h b/net/cert/internal/signature_algorithm.h
index 9ecf252d6712032d672b794c9777f34d0c56e9e6..5d8141ad3f200d83f44d792c3e38d7e19e2c307d 100644
--- a/net/cert/internal/signature_algorithm.h
+++ b/net/cert/internal/signature_algorithm.h
@@ -53,8 +53,6 @@ class NET_EXPORT RsaPssParameters : public SignatureAlgorithmParameters {
public:
RsaPssParameters(DigestAlgorithm mgf1_hash, uint32_t salt_length);
- bool Equals(const RsaPssParameters* other) const;
-
DigestAlgorithm mgf1_hash() const { return mgf1_hash_; }
uint32_t salt_length() const { return salt_length_; }
@@ -84,10 +82,6 @@ class NET_EXPORT SignatureAlgorithm {
DigestAlgorithm mgf1_hash,
uint32_t salt_length);
- // Returns true if |*this| is equivalent to |other|. This compares both the
- // algorithm ID and each parameter for equality.
- bool Equals(const SignatureAlgorithm& other) const WARN_UNUSED_RESULT;
-
// The following methods retrieve the parameters for the signature algorithm.
//
// The correct parameters should be chosen based on the algorithm ID. For
« no previous file with comments | « no previous file | net/cert/internal/signature_algorithm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698