aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/net/ssl/context.txt
blob: 0c14d1907ae67039d6b3f166c3c2010947bbf1cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
~~Title: Efl.Net.Ssl.Context~~
====== 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 %%[[:develop:api:efl:net:ssl:context:method:setup|Efl.Net.Ssl.Context.setup]]%% must be called once before %%[[:develop:api:efl:object:method:finalize|Efl.Object.finalize]]%% in order to define the mandatory operational parameters.%%

%%@note All setter methods must be called before %%[[:develop:api:efl:object:method:finalize|Efl.Object.finalize]]%%.%%

//Since 1.19//

{{page>:develop:api-include:efl:net:ssl:context:description&nouser&nolink&nodate}}

===== Inheritance =====

 => [[:develop:api:efl:object|Efl.Object]] //(class)//
++++ Inheritance graph |

<graphviz>
digraph hierarchy {
    bgcolor = "transparent"
    size = "6"
    rankdir = "TB"

    node [shape = "box"]
    edge [color = "gray35"]

    efl_net_ssl_context [fillcolor = "black", label = "Efl.Net.Ssl.Context", color = "gray15", fontcolor = "white", style = "filled"]
    efl_object [fillcolor = "gray15", label = "Efl.Object", color = "gray15", fontcolor = "white", style = "filled"]

    efl_net_ssl_context -> efl_object
}
</graphviz>

++++

++++ Full hierarchy |

  * [[:develop:api:efl:object|Efl.Object]] //(class)//


++++
===== Members =====

**[[:develop:api:efl:net:ssl:context:method:constructor|constructor]]**// [Overridden from [[:develop:api:efl:object|Efl.Object]]]//\\
> %%Call the object's constructor.%%
<code c>
Efl_Object *efl_constructor(Eo *obj);
</code>
\\
**[[:develop:api:efl:net:ssl:context:method:destructor|destructor]]**// [Overridden from [[:develop:api:efl:object|Efl.Object]]]//\\
> %%Call the object's destructor.%%
<code c>
void efl_destructor(Eo *obj);
</code>
\\
**[[:develop:api:efl:net:ssl:context:method:finalize|finalize]]**// [Overridden from [[:develop:api:efl:object|Efl.Object]]]//\\
> %%Called at the end of #eo_add. Should not be called, just overridden.%%
<code c>
Efl_Object *efl_finalize(Eo *obj);
</code>
\\
**[[:develop:api:efl:net:ssl:context:method:setup|setup]]**\\
> %%Defines the context mandatory operation parameters%%
<code c>
void efl_net_ssl_context_setup(Eo *obj, Efl_Net_Ssl_Cipher cipher, Eina_Bool is_dialer);
</code>
\\
**[[:develop:api:efl:net:ssl:context:property:certificate_authorities|certificate_authorities]]** //**(get, set)**//\\
> %%The list of paths to CA (certificate authoritie) to use.%%
<code c>
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);
</code>
\\
**[[:develop:api:efl:net:ssl:context:property:certificate_revocation_lists|certificate_revocation_lists]]** //**(get, set)**//\\
> %%The list of paths to CRL (certificate revocation list) to use.%%
<code c>
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);
</code>
\\
**[[:develop:api:efl:net:ssl:context:property:certificates|certificates]]** //**(get, set)**//\\
> %%The list of paths to certificates to use.%%
<code c>
Eina_Iterator *efl_net_ssl_context_certificates_get(const Eo *obj);
void efl_net_ssl_context_certificates_set(Eo *obj, Eina_Iterator *paths);
</code>
\\
**[[:develop:api:efl:net:ssl:context:property:default_dialer|default_dialer]]** //**(get)**//\\
> %%The default context for dialers.%%
<code c>
Efl_Net_Ssl_Context *efl_net_ssl_context_default_dialer_get(const Eo *obj);
</code>
\\
**[[:develop:api:efl:net:ssl:context:property:default_paths_load|default_paths_load]]** //**(get, set)**//\\
> %%If %%''true''%%, will use system's default certificate storage%%
<code c>
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);
</code>
\\
**[[:develop:api:efl:net:ssl:context:property:hostname_verify|hostname_verify]]** //**(get, set)**//\\
> %%Defines if hostname should be verified.%%
<code c>
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);
</code>
\\
**[[:develop:api:efl:net:ssl:context:property:hostname|hostname]]** //**(get, set)**//\\
> %%Defines the hostname to use for sockets.%%
<code c>
const char *efl_net_ssl_context_hostname_get(const Eo *obj);
void efl_net_ssl_context_hostname_set(Eo *obj, const char *hostname);
</code>
\\
**[[:develop:api:efl:net:ssl:context:property:private_keys|private_keys]]** //**(get, set)**//\\
> %%The list of paths to private keys to use.%%
<code c>
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);
</code>
\\
**[[:develop:api:efl:net:ssl:context:property:verify_mode|verify_mode]]** //**(get, set)**//\\
> %%How to verify the remote peer.%%
<code c>
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);
</code>
\\

==== Inherited ====

[[:develop:api:efl:object|Efl.Object]]\\
> **[[:develop:api:efl:object:method:children_iterator_new|children_iterator_new]]**, **[[:develop:api:efl:object:method:composite_attach|composite_attach]]**, **[[:develop:api:efl:object:method:composite_detach|composite_detach]]**, **[[:develop:api:efl:object:method:composite_part_is|composite_part_is]]**, **[[:develop:api:efl:object:method:debug_name_override|debug_name_override]]**, **[[:develop:api:efl:object:method:del|del]]**, **[[:develop:api:efl:object:method:event_callback_forwarder_add|event_callback_forwarder_add]]**, **[[:develop:api:efl:object:method:event_callback_forwarder_del|event_callback_forwarder_del]]**, **[[:develop:api:efl:object:method:event_callback_stop|event_callback_stop]]**, **[[:develop:api:efl:object:method:event_freeze|event_freeze]]**, **[[:develop:api:efl:object:method:event_global_freeze|event_global_freeze]]**, **[[:develop:api:efl:object:method:event_global_thaw|event_global_thaw]]**, **[[:develop:api:efl:object:method:event_thaw|event_thaw]]**, **[[:develop:api:efl:object:method:name_find|name_find]]**, **[[:develop:api:efl:object:method:provider_find|provider_find]]**, **[[:develop:api:efl:object:property:allow_parent_unref|allow_parent_unref]]** //**(get, set)**//, **[[:develop:api:efl:object:property:comment|comment]]** //**(get, set)**//, **[[:develop:api:efl:object:property:event_freeze_count|event_freeze_count]]** //**(get)**//, **[[:develop:api:efl:object:property:event_global_freeze_count|event_global_freeze_count]]** //**(get)**//, **[[:develop:api:efl:object:property:finalized|finalized]]** //**(get)**//, **[[:develop:api:efl:object:property:name|name]]** //**(get, set)**//, **[[:develop:api:efl:object:property:parent|parent]]** //**(get, set)**//
===== Events =====

==== Inherited ====

[[:develop:api:efl:object|Efl.Object]]\\
> **[[:develop:api:efl:object:event:callback_add|callback,add]]**, **[[:develop:api:efl:object:event:callback_del|callback,del]]**, **[[:develop:api:efl:object:event:del|del]]**