[webp] Service parsing, ca-cert handling
[moonshot-ui.git] / src / moonshot-id.vala
1 public class TrustAnchor : Object
2 {
3   public string ca_cert {get; set; default = null;}
4   public string subject {get; set; default = null;}
5   public string subject_alt  {get; set; default = null;}
6   public string server_cert  {get; set; default = null;}
7 }
8
9 public class IdCard : Object
10 {
11   public string display_name { get; set; default = null; }
12   
13   public string username { get; set; default = null; }
14   public string password { get; set; default = null; }
15
16   public string issuer { get; set; default = null; }
17
18   public TrustAnchor trust_anchor  { get; set; default = new TrustAnchor (); }
19   
20   public Gdk.Pixbuf pixbuf { get; set; default = null; }    
21   public string[] services { get; set; default = {}; }
22
23   //TODO: Set the getter and remove the setter/default
24   public string nai { get; set; default = null; }
25 }