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

Unified Diff: content/renderer/webcrypto/webcrypto_util.h

Issue 68303009: [webcrypto] Add RSASSA-PKCS1-v1_5 sign and verify for NSS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase plus minor fix Created 7 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
Index: content/renderer/webcrypto/webcrypto_util.h
diff --git a/content/renderer/webcrypto/webcrypto_util.h b/content/renderer/webcrypto/webcrypto_util.h
index 60a851a8a0e03bc37aa7cd764d159acb447bda1b..a0aa55f60b08d28f87966d7c54a816116b3162fb 100644
--- a/content/renderer/webcrypto/webcrypto_util.h
+++ b/content/renderer/webcrypto/webcrypto_util.h
@@ -35,6 +35,8 @@ blink::WebArrayBuffer CreateArrayBuffer(const uint8* data, unsigned data_size);
// In Web Crypto, this type of encoding is only used inside JWK.
bool Base64DecodeUrlSafe(const std::string& input, std::string* output);
+bool IsHashAlgorithm(blink::WebCryptoAlgorithmId alg_id);
eroman 2014/01/15 23:10:02 This needs to be marked as CONTENT_EXPORT or it wi
padolph 2014/01/16 02:02:04 Done.
+
// Returns the "hash" param for an algorithm if it exists, otherwise returns
// a null algorithm.
blink::WebCryptoAlgorithm GetInnerHashAlgorithm(

Powered by Google App Engine
This is Rietveld 408576698