Browse Source

mconnect: export own certificate over DBus

mconnect's certificate is accessible as Certificate property of
org.mconnect.DeviceManager interface on /org/mconnect/manager object.
bboozzoo/tls-support
Maciek Borzecki 7 years ago
parent
commit
83e1ef73d6
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/mconnect/devicemanager-proxy.vala

+ 5
- 0
src/mconnect/devicemanager-proxy.vala View File

@ -24,6 +24,11 @@ class DeviceManagerDBusProxy : Object
{ {
private DeviceManager manager; private DeviceManager manager;
public string certificate {
owned get { return Core.instance().certificate.certificate_pem; }
private set {}
}
public signal void device_added(string path); public signal void device_added(string path);
public signal void device_removed(string path); public signal void device_removed(string path);


Loading…
Cancel
Save