| 272 silc_pkcs_free(pkcs); |
272 silc_pkcs_free(pkcs); |
| 273 } |
273 } |
| 274 |
274 |
| 275 s = g_string_new(""); |
275 s = g_string_new(""); |
| 276 if (ident->realname) |
276 if (ident->realname) |
| 277 g_string_append_printf(s, "Real Name: \t%s\n", ident->realname); |
277 g_string_append_printf(s, "%s: \t%s\n", _("Real Name"), ident->realname); |
| 278 if (ident->username) |
278 if (ident->username) |
| 279 g_string_append_printf(s, "User Name: \t%s\n", ident->username); |
279 g_string_append_printf(s, "%s: \t%s\n", _("User Name"), ident->username); |
| 280 if (ident->email) |
280 if (ident->email) |
| 281 g_string_append_printf(s, "EMail: \t\t%s\n", ident->email); |
281 g_string_append_printf(s, "%s: \t\t%s\n", _("EMail"), ident->email); |
| 282 if (ident->host) |
282 if (ident->host) |
| 283 g_string_append_printf(s, "Host Name: \t%s\n", ident->host); |
283 g_string_append_printf(s, "%s: \t%s\n", _("Host Name"), ident->host); |
| 284 if (ident->org) |
284 if (ident->org) |
| 285 g_string_append_printf(s, "Organization: \t%s\n", ident->org); |
285 g_string_append_printf(s, "%s: \t%s\n", _("Organization"), ident->org); |
| 286 if (ident->country) |
286 if (ident->country) |
| 287 g_string_append_printf(s, "Country: \t%s\n", ident->country); |
287 g_string_append_printf(s, "%s: \t%s\n", _("Country"), ident->country); |
| 288 g_string_append_printf(s, "Algorithm: \t\t%s\n", public_key->name); |
288 g_string_append_printf(s, "%s: \t\t%s\n", _("Algorithm"), public_key->name); |
| 289 g_string_append_printf(s, "Key Length: \t%d bits\n", (int)key_len); |
289 g_string_append_printf(s, "%s: \t%d bits\n", _("Key Length"), (int)key_len); |
| 290 g_string_append_printf(s, "\n"); |
290 g_string_append_printf(s, "\n"); |
| 291 g_string_append_printf(s, "Public Key Fingerprint:\n%s\n\n", fingerprint); |
291 g_string_append_printf(s, "%s:\n%s\n\n", _("Public Key Fingerprint"), fingerprint); |
| 292 g_string_append_printf(s, "Public Key Babbleprint:\n%s", babbleprint); |
292 g_string_append_printf(s, "%s:\n%s", _("Public Key Babbleprint"), babbleprint); |
| 293 |
293 |
| 294 buf = g_string_free(s, FALSE); |
294 buf = g_string_free(s, FALSE); |
| 295 |
295 |
| 296 gaim_request_action(NULL, _("Public Key Information"), |
296 gaim_request_action(NULL, _("Public Key Information"), |
| 297 _("Public Key Information"), |
297 _("Public Key Information"), |