yumapro  24.10-12
YumaPro SDK
Loading...
Searching...
No Matches
agt_openssl.h
Go to the documentation of this file.
1#ifdef WITH_OPENSSL
2/*
3 * Copyright (c) 2018 - 2021, YumaWorks, Inc., All Rights Reserved.
4 *
5 * Unless required by applicable law or agreed to in writing,
6 * software distributed under the License is distributed on an
7 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8 * KIND, either express or implied. See the License for the
9 * specific language governing permissions and limitations
10 * under the License.
11 */
12#ifndef _H_agt_openssl
13#define _H_agt_openssl
14
15/* FILE: agt_openssl.h
16*********************************************************************
17* *
18* P U R P O S E *
19* *
20*********************************************************************/
21
28/*********************************************************************
29* *
30* C H A N G E H I S T O R Y *
31* *
32*********************************************************************
33
34date init comment
35----------------------------------------------------------------------
3602-mar-18 abb Begun
37*/
38
39#ifndef _H_ses
40#include "ses.h"
41#endif
42
43#ifndef _H_status_enum
44#include "status_enum.h"
45#endif
46
47#ifdef __cplusplus
48extern "C" {
49#endif
50
51/********************************************************************
52* *
53* C O N S T A N T S *
54* *
55*********************************************************************/
56
57
58/********************************************************************
59* *
60* T Y P E S *
61* *
62*********************************************************************/
63
64
65/********************************************************************
66* *
67* F U N C T I O N S *
68* *
69*********************************************************************/
70
89extern void
90 agt_openssl_init0 (void);
91
98extern status_t
99 agt_openssl_init (void);
100
101
108extern void
109 agt_openssl_cleanup (void);
110
111
119extern status_t
120 agt_openssl_start_session (ses_cb_t *scb);
121
122
129extern void
130 agt_openssl_cleanup_session (ses_cb_t *scb);
131
132
133
143extern status_t
145 uint32 id);
146
147
156extern status_t
158
159
168extern status_t
170
171
180extern status_t
181 agt_openssl_check_fingerprint (const xmlChar *fprintstr);
182
183
202extern status_t
203 agt_openssl_set_server_keys (int *err_step);
204
205
215extern void
216 agt_openssl_set_tls_debug (boolean val);
217
218
219
221#ifdef __cplusplus
222} /* end extern 'C' */
223#endif
224
225#endif /* _H_agt_openssl */
226#endif // WITH_OPENSSL
status_t agt_openssl_delete_all_cert_to_name(void)
Delete all cert-to-name entries.
Definition: agt_openssl.c:2807
status_t agt_openssl_set_server_keys(int *err_step)
Update the server keys.
Definition: agt_openssl.c:2914
void agt_openssl_set_tls_debug(boolean val)
Set the TLS Debug parameter.
Definition: agt_openssl.c:2980
status_t agt_openssl_delete_cert_to_name(uint32 id)
Delete the cert-to-name entry.
Definition: agt_openssl.c:2769
status_t agt_openssl_set_cert_to_name(val_value_t *val, uint32 id)
Create or replace the cert-to-name entry.
Definition: agt_openssl.c:2651
status_t agt_openssl_check_fingerprint(const xmlChar *fprintstr)
Check if fingerprint value is OK.
Definition: agt_openssl.c:2840
status_t
global error return code
Definition: status_enum.h:219
NETCONF Session Common definitions module.
global error status code enumerations
Session Control Block.
Definition: ses.h:573
one value to match one type
Definition: val.h:921