Efl.Net.Ssl.Context (class)

Description

A SSL Context that is used to start a SSL socket wrapper.

The context will contain common configurations such as certificates, private keys, certificate revocation lists (CRLs), certificate authorities (CAs) and so on.

The method Efl.Net.Ssl.Context.setup must be called once before Efl.Object.finalize in order to define the mandatory operational parameters.

@note All setter methods must be called before Efl.Object.finalize.

Since 1.19

Inheritance

Members

certificate_authorities (get, set)

The list of paths to CA (certificate authoritie) to use.
Eina_Iterator *efl_net_ssl_context_certificate_authorities_get(const Eo *obj);
void efl_net_ssl_context_certificate_authorities_set(Eo *obj, Eina_Iterator *paths);


certificate_revocation_lists (get, set)

The list of paths to CRL (certificate revocation list) to use.
Eina_Iterator *efl_net_ssl_context_certificate_revocation_lists_get(const Eo *obj);
void efl_net_ssl_context_certificate_revocation_lists_set(Eo *obj, Eina_Iterator *paths);


certificates (get, set)

The list of paths to certificates to use.
Eina_Iterator *efl_net_ssl_context_certificates_get(const Eo *obj);
void efl_net_ssl_context_certificates_set(Eo *obj, Eina_Iterator *paths);


constructor [Overridden from Efl.Object]

Call the object's constructor.
Efl_Object *efl_constructor(Eo *obj);


default_dialer (get) class

The default context for dialers.
Efl_Net_Ssl_Context *efl_net_ssl_context_default_dialer_get(Efl_Class *klass);


default_paths_load (get, set)

If true, will use system's default certificate storage
Eina_Bool efl_net_ssl_context_default_paths_load_get(const Eo *obj);
void efl_net_ssl_context_default_paths_load_set(Eo *obj, Eina_Bool default_paths_load);


destructor [Overridden from Efl.Object]

Call the object's destructor.
void efl_destructor(Eo *obj);


finalize [Overridden from Efl.Object]

Called at the end of efl_add. Should not be called, just overridden.
Efl_Object *efl_finalize(Eo *obj);


hostname (get, set)

Defines the hostname to use for sockets.
const char *efl_net_ssl_context_hostname_get(const Eo *obj);
void efl_net_ssl_context_hostname_set(Eo *obj, const char *hostname);


hostname_verify (get, set)

Defines if hostname should be verified.
Eina_Bool efl_net_ssl_context_hostname_verify_get(const Eo *obj);
void efl_net_ssl_context_hostname_verify_set(Eo *obj, Eina_Bool hostname_verify);


private_keys (get, set)

The list of paths to private keys to use.
Eina_Iterator *efl_net_ssl_context_private_keys_get(const Eo *obj);
void efl_net_ssl_context_private_keys_set(Eo *obj, Eina_Iterator *paths);


setup

Defines the context mandatory operation parameters
void efl_net_ssl_context_setup(Eo *obj, Efl_Net_Ssl_Cipher cipher, Eina_Bool is_dialer);


verify_mode (get, set)

How to verify the remote peer.
Efl_Net_Ssl_Verify_Mode efl_net_ssl_context_verify_mode_get(const Eo *obj);
void efl_net_ssl_context_verify_mode_set(Eo *obj, Efl_Net_Ssl_Verify_Mode verify_mode);


Inherited

Efl.Object
allow_parent_unref (get, set) Allow an object to be deleted by unref even if it has a parent.
children_iterator_new Get an iterator on all childrens
comment (get, set) A human readable comment for the object
composite_attach Make an object a composite object of another.
composite_detach Detach a composite object from another object.
composite_part_is Check if an object is part of a composite object.
debug_name_override Build a read-only name for this object used for debugging.
del Unrefs the object and reparents it to NULL.
event_callback_forwarder_add Add an event callback forwarder for an event and an object.
event_callback_forwarder_del Remove an event callback forwarder for an event and an object.
event_callback_stop Stop the current callback call.
event_freeze Freeze events of object.
event_freeze_count (get) Return freeze events of object.
class event_global_freeze Freeze events of object.
class event_global_freeze_count (get) Return freeze events of object.
class event_global_thaw Thaw events of object.
event_thaw Thaw events of object.
finalized (get) True if the object is already finalized, otherwise false.
name (get, set) The name of the object.
name_find Find a child object with the given name and return it.
parent (get, set) The parent of an object.
provider_find Searches upwards in the object tree for a provider which knows the given class/interface.

Events

Inherited

Efl.Object
callback,add A callback was added.
callback,del A callback was deleted.
del Object is being deleted.
destruct Object has been fully destroyed. It can not be used beyond this point. This event should only serve to clean up any dangling pointer.