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

Unified Diff: third_party/WebKit/public/platform/WebRTCCertificateGenerator.h

Issue 1949033002: Ability to persist RTCCertificate in IndexedDB (enables cloning). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « third_party/WebKit/public/platform/WebRTCCertificate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
diff --git a/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h b/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
index 2f35700e7847ac14683328779117b4fea250dd6e..0e06f17b85bc2e5f87e93f0f765ff9915114b28f 100644
--- a/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
+++ b/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
@@ -65,6 +65,11 @@ public:
// For example, if the number of bits of some parameter is too small or too large we
// may want to reject it for security or performance reasons.
virtual bool isSupportedKeyParams(const WebRTCKeyParams&) = 0;
+
+ // Creates a certificate from the PEM strings. See also |WebRTCCertificate::toPEM|.
+ virtual std::unique_ptr<WebRTCCertificate> fromPEM(
+ const std::string& pemPrivateKey,
+ const std::string& pemCertificate) = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/public/platform/WebRTCCertificate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698