Interface org.freedesktop.Telepathy.SSLCertVerification

Interface Index (Compact) | Summary | Description | Methods | Properties | Types

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)

Accept () → nothing

Accept the certificate.
(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.
(Permalink)

Certificate — s

Read only
This is the full PEM encoded certificate.

Types

Enum (Permalink)

Certificate_Status — u

  • Verified (0)
  • The certificate has been verified
  • Untrusted (1)
  • 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
  • Expired (2)
  • The certificate has expired
  • Not_Activated (3)
  • The certificate's activation date is in the future
  • Hostname_Mismatch (4)
  • The certificate did not match its hostname
  • Self_Signed (5)
  • The certificate is self signed
  • Revoked (6)
  • The certificate has been revoked
  • Insecure_Algorithm (7)
  • The remote crypto algorithm is not secure enough
  • Other (8)
  • Other unknown verification errorx