| 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
|
|
|