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

Unified Diff: webrtc/base/sslidentity.h

Issue 1898383003: RTCCertificate serialization. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Handle PEM_write_bio_PrivateKey failure Created 4 years, 8 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
Index: webrtc/base/sslidentity.h
diff --git a/webrtc/base/sslidentity.h b/webrtc/base/sslidentity.h
index 77c9e186c1cb452c0accc4c9d4fb7cafa4ab8603..c768cad0113364b7642f545da87315373fc308c9 100644
--- a/webrtc/base/sslidentity.h
+++ b/webrtc/base/sslidentity.h
@@ -226,6 +226,7 @@ class SSLIdentity {
// Returns a temporary reference to the certificate.
virtual const SSLCertificate& certificate() const = 0;
+ virtual std::string PrivateKeyToPemString() const = 0;
// Helpers for parsing converting between PEM and DER format.
static bool PemToDer(const std::string& pem_type,

Powered by Google App Engine
This is Rietveld 408576698