First pass at supporting trust anchors in IdCard dialog
[moonshot-ui.git] / src / moonshot-id.vala
index 515b73e..0895d1e 100644 (file)
@@ -101,6 +101,16 @@ public class TrustAnchor : Object
             return 1;
         return 0;
     }
+
+    public string? get_expiration_date()
+    {
+        if (this.ca_cert == "") {
+            return null;
+        }
+
+        //!!TODO read expiration date
+        return "";
+    }
 }
 
 public struct Rule