Added key type info

This commit is contained in:
Juan Gilsanz Polo 2022-10-28 14:42:47 +02:00
parent 427636baf3
commit 6ce8555226
3 changed files with 12 additions and 3 deletions

View file

@ -481,7 +481,7 @@ class _EncryptionSettingsWidgetState extends State<EncryptionSettingsWidget> {
label: "${AppLocalizations.of(context)!.hostNames}: ${certKeyValid!['dns_names'].join(', ')}"
),
const SizedBox(height: 10),
]
],
],
SectionLabel(label: AppLocalizations.of(context)!.privateKey),
RadioListTile(
@ -569,6 +569,13 @@ class _EncryptionSettingsWidgetState extends State<EncryptionSettingsWidget> {
),
const SizedBox(height: 10)
],
if (certKeyValid!['key_type'] != null) ...[
Status(
valid: true,
label: "${AppLocalizations.of(context)!.keyType}: ${certKeyValid!['key_type']}"
),
const SizedBox(height: 10),
],
const SizedBox(height: 10)
]
],