No way to access CryptoKeyPair properties #2092
Labels
breaking-change
Tracking breaking changes for the next major version bump (if ever)
bug
web-sys
Issues related to the `web-sys` crate
Describe the Bug
The
CryptoKeyPair
type only has property settersprivate_key()
andpublic_key()
. There are no methods to access the existing property values. This conflicts with the actual specified interface.Expected Behavior
CryptoKeyPair
should provide both setter and getter methods.Additional Context
Spec: https://www.w3.org/TR/WebCryptoAPI/#keypair
Docs: https://developer.mozilla.org/en-US/docs/Web/API/CryptoKeyPair
The text was updated successfully, but these errors were encountered: