| Index: webrtc/base/sslidentity.h
|
| diff --git a/webrtc/base/sslidentity.h b/webrtc/base/sslidentity.h
|
| index 77c9e186c1cb452c0accc4c9d4fb7cafa4ab8603..782b062d4d44c6b5f0f56eee5a93ef7af35ed48a 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,
|
| @@ -236,6 +237,8 @@ class SSLIdentity {
|
| size_t length);
|
| };
|
|
|
| +bool operator==(const SSLIdentity& a, const SSLIdentity& b);
|
| +
|
| // Convert from ASN1 time as restricted by RFC 5280 to seconds from 1970-01-01
|
| // 00.00 ("epoch"). If the ASN1 time cannot be read, return -1. The data at
|
| // |s| is not 0-terminated; its char count is defined by |length|.
|
|
|