-
Notifications
You must be signed in to change notification settings - Fork 34
Feat/add crypto key #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@mjeanroy please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
Expose
CryptoKey
class/interface:CryptoKey
class, so check likeinstanceof CryptoKey
works fine.CryptoKey
interface is available, theCryptoKey
class extends this interface, so check likeinstanceof CryptoKey
(whereCryptoKey
is the native interface) works fine.One caveat: the native
CryptoKey
is an interface, so theoretically, it is not instantiable, but the exposedCryptoKey
class is instantiable (said differently, it's not 100% spec compliant).