Chromium Code Reviews

Unified Diff: net/der/input.h

Issue 1209283004: Implement VerifySignedData() for ECDSA, RSA PKCS#1 and RSA PSS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@parse_pss
Patch Set: clarify that signature_value is NOT the BIT STRING itself, but the byte contents Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: net/der/input.h
diff --git a/net/der/input.h b/net/der/input.h
index f8eb467a482dc765788c720da9e4ec6b9102522d..6731b0c0600afd22f623141252b7e2b58d413061 100644
--- a/net/der/input.h
+++ b/net/der/input.h
@@ -49,6 +49,9 @@ class NET_EXPORT_PRIVATE Input {
// Creates an Input from the given |data| and |len|.
Input(const uint8_t* data, size_t len);
+ // Creates an Input from the given string |s|.
+ explicit Input(const std::string& s);
Ryan Sleevi 2015/07/07 14:07:31 Intentionally removed this API. I'm not keen to re
eroman 2015/07/07 18:07:00 Done. Didn't realize it had been added and removed
+
// Returns the length in bytes of an Input's data.
size_t Length() const { return len_; }

Powered by Google App Engine