Index: content/child/webcrypto/openssl/rsa_key_openssl.h |
diff --git a/content/child/webcrypto/openssl/rsa_key_openssl.h b/content/child/webcrypto/openssl/rsa_key_openssl.h |
index 86a69316df475c93216a92d524c71748eb6083ab..a8ea173bd51ab28cb74daa6dc64d3f86e5ab2157 100644 |
--- a/content/child/webcrypto/openssl/rsa_key_openssl.h |
+++ b/content/child/webcrypto/openssl/rsa_key_openssl.h |
@@ -38,18 +38,10 @@ class RsaHashedAlgorithm : public AlgorithmImplementation { |
virtual const char* GetJwkAlgorithm( |
const blink::WebCryptoAlgorithmId hash) const = 0; |
- virtual Status VerifyKeyUsagesBeforeGenerateKeyPair( |
- blink::WebCryptoKeyUsageMask combined_usage_mask, |
- blink::WebCryptoKeyUsageMask* public_usage_mask, |
- blink::WebCryptoKeyUsageMask* private_usage_mask) const OVERRIDE; |
- |
- virtual Status GenerateKeyPair( |
- const blink::WebCryptoAlgorithm& algorithm, |
- bool extractable, |
- blink::WebCryptoKeyUsageMask public_usage_mask, |
- blink::WebCryptoKeyUsageMask private_usage_mask, |
- blink::WebCryptoKey* public_key, |
- blink::WebCryptoKey* private_key) const OVERRIDE; |
+ virtual Status GenerateKey(const blink::WebCryptoAlgorithm& algorithm, |
+ bool extractable, |
+ blink::WebCryptoKeyUsageMask usage_mask, |
+ GenerateKeyResult* result) const OVERRIDE; |
virtual Status VerifyKeyUsagesBeforeImportKey( |
blink::WebCryptoKeyFormat format, |