| Index: content/renderer/webcrypto_impl.h
|
| diff --git a/content/renderer/webcrypto_impl.h b/content/renderer/webcrypto_impl.h
|
| index a2c8a87dd6463170b5c1d84dda24521acdbb3910..41adf6497e705273b30040e63be7d2f9eadc13f3 100644
|
| --- a/content/renderer/webcrypto_impl.h
|
| +++ b/content/renderer/webcrypto_impl.h
|
| @@ -37,6 +37,14 @@ class CONTENT_EXPORT WebCryptoImpl
|
| const unsigned char* data,
|
| unsigned data_size,
|
| WebKit::WebCryptoResult result);
|
| + virtual void verifySignature(
|
| + const WebKit::WebCryptoAlgorithm& algorithm,
|
| + const WebKit::WebCryptoKey& key,
|
| + const unsigned char* signature,
|
| + unsigned signature_size,
|
| + const unsigned char* data,
|
| + unsigned data_size,
|
| + WebKit::WebCryptoResult result);
|
|
|
| protected:
|
| friend class WebCryptoImplTest;
|
| @@ -62,6 +70,14 @@ class CONTENT_EXPORT WebCryptoImpl
|
| const unsigned char* data,
|
| unsigned data_size,
|
| WebKit::WebArrayBuffer* buffer);
|
| + bool VerifySignatureInternal(
|
| + const WebKit::WebCryptoAlgorithm& algorithm,
|
| + const WebKit::WebCryptoKey& key,
|
| + const unsigned char* signature,
|
| + unsigned signature_size,
|
| + const unsigned char* data,
|
| + unsigned data_size,
|
| + bool* signature_match);
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(WebCryptoImpl);
|
|
|