* Check if key is decrypted. As openpgp.decryptKey always decrypts all key packets, we only check the primary key status. * @param {openpgp.key.Key} options.key * @return {Boolean}
({key})
| 140 | * @return {Boolean} |
| 141 | */ |
| 142 | keyIsDecrypted({key}) { |
| 143 | return key.isDecrypted(); |
| 144 | } |
| 145 | } |