Methods
Accept | () | → | nothing | |
Reject | () | → | nothing |
Properties
Status | u (Certificate_Status) | Read/Write | |
Certificate | s | Read only |
Types
Certificate_Status | Enum | u |
WARNING:
This interface is experimental and is likely to cause havoc
to your API/ABI if bindings are generated. Do not include this interface
in libraries that care about compatibility.
Description
This type contains certificate information as well as methods for accepting/rejecting the given certificate. Typically a client could use these objects for creating and storing certificate exceptions, for example, accepting a self-signed certificate and storing it for future sessions.
Methods
(Permalink)
Reject () → nothing
Reject the certificate. If this is a server certificate We
will subsequently get a StatusChanged signal from the Connection with
the a status of Disconnected, and a proper Cert_* reason.
Properties
Accessed using the org.freedesktop.DBus.Properties interface.
(Permalink)
Status — u (Certificate_Status)
Read/Write
This property is pre-populated with a status that the CM
provides. The CM is responsible for a preliminary verification
using such standard CAs such as
/etc/ssl/certs/ca-certificates.crt and
$XDG_CONFIG_HOME/telepathy/certs. This property is writable
and can be changed to any status the client deems. If a
certificate is rejected, this property is used as the reason.
Types
Enum (Permalink)
Certificate_Status — u
- Verified (0)
- Untrusted (1)
- Expired (2)
- Not_Activated (3)
- Hostname_Mismatch (4)
- Self_Signed (5)
- Revoked (6)
- Insecure_Algorithm (7)
- Other (8)
The certificate has been verified
The SSL certificate is signed by an untrusted certifying authority. This error SHOULD NOT be used to represent a self-signed certificate: use the more specific Self_Signed status for that
The certificate has expired
The certificate's activation date is in the future
The certificate did not match its hostname
The certificate is self signed
The certificate has been revoked
The remote crypto algorithm is not secure enough
Other unknown verification errorx