private static String getCardName(@NotNull X509Certificate certificate) {
    return certificate.getSubjectX500Principal().getName();
  }
private static String getCardName(@NotNull X509Certificate certificate)