projects
/
moonshot-ui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
First pass at supporting trust anchors in IdCard dialog
[moonshot-ui.git]
/
src
/
moonshot-id.vala
diff --git
a/src/moonshot-id.vala
b/src/moonshot-id.vala
index
515b73e
..
0895d1e
100644
(file)
--- a/
src/moonshot-id.vala
+++ b/
src/moonshot-id.vala
@@
-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