diff options
Diffstat (limited to 'content/renderer/webcrypto_impl_openssl.cc')
-rw-r--r-- | content/renderer/webcrypto_impl_openssl.cc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/content/renderer/webcrypto_impl_openssl.cc b/content/renderer/webcrypto_impl_openssl.cc index 343eb72..9aa1a42 100644 --- a/content/renderer/webcrypto_impl_openssl.cc +++ b/content/renderer/webcrypto_impl_openssl.cc @@ -19,4 +19,28 @@ bool WebCryptoImpl::DigestInternal( return false; } +bool WebCryptoImpl::ImportKeyInternal( + WebKit::WebCryptoKeyFormat format, + const unsigned char* key_data, + unsigned key_data_size, + const WebKit::WebCryptoAlgorithm& algorithm, + WebKit::WebCryptoKeyUsageMask usage_mask, + scoped_ptr<WebKit::WebCryptoKeyHandle>* handle, + WebKit::WebCryptoKeyType* type) { + // TODO(bryaneyler): Placeholder for OpenSSL implementation. + // Issue http://crbug.com/267888. + return false; +} + +bool WebCryptoImpl::SignInternal( + const WebKit::WebCryptoAlgorithm& algorithm, + const WebKit::WebCryptoKey& key, + const unsigned char* data, + unsigned data_size, + WebKit::WebArrayBuffer* buffer) { + // TODO(bryaneyler): Placeholder for OpenSSL implementation. + // Issue http://crbug.com/267888. + return false; +} + } // namespace content |