IIdentityWallet.generateKey() method
Generates a new key
Signature:
generateKey(keyType: KmsKeyType): Promise<KmsKeyId>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| keyType | KmsKeyType | supported key type by KMS |
Returns:
Promise<KmsKeyId>
Promise<KmsKeyId> - creates a new key BJJ or ECDSA