keyGenECDSA
A function for generating ECDSA keyshares.
Import
Usage
Parameters
params: { userToken: string, partyKey: ECDSAP1PartyKeys }
params: { userToken: string, partyKey: ECDSAP1PartyKeys }
userToken: string
The user JWT token.
partyKey: ECDSAP1PartyKeys
The party key object.
Returns
Promise<ECDSAP1KeyshareV2>
Promise<ECDSAP1KeyshareV2>
Promise which resolves to the generated keyshare.
Error
DuoSDKError | undefined | unknow
DuoSDKError | undefined | unknow
If key generation fails, the error object is thrown.
Last updated