yumapro  24.10-3
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
88extern void
89 agt_openssl_init0 (void);
90
96extern status_t
97 agt_openssl_init (void);
98
99
105extern void
106 agt_openssl_cleanup (void);
107
108
115extern status_t
117
118
124extern void
126
127
128
136extern status_t
138 uint32 id);
139
140
147extern status_t
149
150
157extern status_t
159
160
167extern status_t
168 agt_openssl_check_fingerprint (const xmlChar *fprintstr);
169
170
172#ifdef __cplusplus
173} /* end extern 'C' */
174#endif
175
176#endif /* _H_agt_openssl */
177#endif // WITH_OPENSSL
void agt_openssl_init0(void)
Initialize the openssl module data structures.
Definition: agt_openssl.c:1872
status_t agt_openssl_start_session(ses_cb_t *scb)
Start a NETCONF over TLS session.
Definition: agt_openssl.c:2212
void agt_openssl_cleanup_session(ses_cb_t *scb)
Cleanup a NETCONF over TLS session.
Definition: agt_openssl.c:2396
void agt_openssl_cleanup(void)
Cleanup the OpenSSL module.
Definition: agt_openssl.c:2149
status_t agt_openssl_delete_all_cert_to_name(void)
Delete all cert-to-name entries.
Definition: agt_openssl.c:2612
status_t agt_openssl_delete_cert_to_name(uint32 id)
Delete the cert-to-name entry.
Definition: agt_openssl.c:2574
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:2456
status_t agt_openssl_check_fingerprint(const xmlChar *fprintstr)
Check if fingerprint value is OK.
Definition: agt_openssl.c:2645
status_t agt_openssl_init(void)
Initialize the OpenSSL module.
Definition: agt_openssl.c:1890
status_t
global error return code
Definition: status_enum.h:210
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:912