diff --git a/doc/api/webcrypto.md b/doc/api/webcrypto.md index 0604f0164d422a..8cf4bad3f823d5 100644 --- a/doc/api/webcrypto.md +++ b/doc/api/webcrypto.md @@ -689,7 +689,7 @@ changes: * `format`: {string} Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. * `key`: {CryptoKey} -* Returns: {Promise} containing {ArrayBuffer}. +* Returns: {Promise} containing {ArrayBuffer|Object}. Exports the given key into the specified format, if supported. @@ -776,7 +776,7 @@ changes: --> * `format`: {string} Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. -* `keyData`: {ArrayBuffer|TypedArray|DataView|Buffer|KeyObject} +* `keyData`: {ArrayBuffer|TypedArray|DataView|Buffer|Object}