Constructors
constructor
- new BasicKeyManager(privateKey: string, getEncryptionKey: undefined | function): BasicKeyManager
-
Parameters
-
privateKey: string
-
Optional getEncryptionKey: undefined | function
Methods
deriveSharedSecret
- deriveSharedSecret(publicKey: string): Promise<string>
-
Parameters
Returns Promise<string>
getPubKey
- getPubKey(): Promise<string>
signWebToken
- signWebToken(payload: any): Promise<string>
-
Parameters
Returns Promise<string>