Index: content/child/webcrypto/nss/rsa_key_nss.h |
diff --git a/content/child/webcrypto/nss/rsa_key_nss.h b/content/child/webcrypto/nss/rsa_key_nss.h |
index f83ad5c66552808d4e2ba2737dcab17b31dec3a6..8004659207efc48fbe71d345f1abe09dd8f31ba1 100644 |
--- a/content/child/webcrypto/nss/rsa_key_nss.h |
+++ b/content/child/webcrypto/nss/rsa_key_nss.h |
@@ -43,18 +43,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, |