public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     System.Security.Cryptography.X509Certificates.X509Certificate2 cert = value as System.Security.Cryptography.X509Certificates.X509Certificate2;
     if ("ca".Equals(parameter))
     {
         return(cert?.IssuerInfo());
     }
     return(cert?.SubjectInfo());
 }