({keyAlgo, userIds, passphrase, numBits, keyExpirationTime})
| 82 | } |
| 83 | |
| 84 | async generateKey({keyAlgo, userIds, passphrase, numBits, keyExpirationTime}) { |
| 85 | const curve = keyAlgo === 'ecc' ? 'curve25519' : undefined; |
| 86 | return generateKey({userIDs: userIds, passphrase, type: keyAlgo, rsaBits: numBits, curve, keyExpirationTime, format: 'object'}); |
| 87 | } |
| 88 | } |
nothing calls this directly
no test coverage detected