Add two missing importKey methods
This commit is contained in:
parent
96e9210407
commit
6c0c0c0fff
1 changed files with 7 additions and 1 deletions
|
@ -756,6 +756,9 @@ make.crypto = {
|
||||||
generateKey: function () {
|
generateKey: function () {
|
||||||
return this.alg()
|
return this.alg()
|
||||||
},
|
},
|
||||||
|
importKey: function () {
|
||||||
|
return this.alg()
|
||||||
|
},
|
||||||
deriveBits: function () {
|
deriveBits: function () {
|
||||||
return Object.assign(
|
return Object.assign(
|
||||||
this.alg(),
|
this.alg(),
|
||||||
|
@ -787,7 +790,10 @@ make.crypto = {
|
||||||
return {
|
return {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
generateKey: () => {
|
generateKey: function () {
|
||||||
|
return this.alg()
|
||||||
|
},
|
||||||
|
importKey: function () {
|
||||||
return this.alg()
|
return this.alg()
|
||||||
},
|
},
|
||||||
deriveBits: function () {
|
deriveBits: function () {
|
||||||
|
|
Loading…
Reference in a new issue