| Index: content/child/webcrypto/algorithm_implementation.h
|
| diff --git a/content/child/webcrypto/algorithm_implementation.h b/content/child/webcrypto/algorithm_implementation.h
|
| index 2726137f06ce30eb3e57e6b9d30559f07a0d2e13..7cb7cb814045c9a443d17e091b4ae0660f940d1b 100644
|
| --- a/content/child/webcrypto/algorithm_implementation.h
|
| +++ b/content/child/webcrypto/algorithm_implementation.h
|
| @@ -107,6 +107,14 @@ class AlgorithmImplementation {
|
| blink::WebCryptoKeyFormat format,
|
| blink::WebCryptoKeyUsageMask usages) const;
|
|
|
| + // Dispatches to the format-specific ImportKey* method.
|
| + Status ImportKey(blink::WebCryptoKeyFormat format,
|
| + const CryptoData& key_data,
|
| + const blink::WebCryptoAlgorithm& algorithm,
|
| + bool extractable,
|
| + blink::WebCryptoKeyUsageMask usages,
|
| + blink::WebCryptoKey* key) const;
|
| +
|
| // This method corresponds to Web Crypto's
|
| // crypto.subtle.importKey(format='raw').
|
| virtual Status ImportKeyRaw(const CryptoData& key_data,
|
| @@ -143,6 +151,11 @@ class AlgorithmImplementation {
|
| // Key export
|
| // -----------------------------------------------
|
|
|
| + // Dispatches to the format-specific ExportKey* method.
|
| + Status ExportKey(blink::WebCryptoKeyFormat format,
|
| + const blink::WebCryptoKey& key,
|
| + std::vector<uint8_t>* buffer) const;
|
| +
|
| virtual Status ExportKeyRaw(const blink::WebCryptoKey& key,
|
| std::vector<uint8_t>* buffer) const;
|
|
|
|
|