yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
OpenSSL Support

NETCONF over TLS support using OpenSSL library APIs. More...

Collaboration diagram for OpenSSL Support:

Functions

void agt_openssl_init0 (void)
 Initialize the openssl module data structures. More...
 
status_t agt_openssl_init (void)
 Initialize the OpenSSL module. More...
 
void agt_openssl_cleanup (void)
 Cleanup the OpenSSL module. More...
 
status_t agt_openssl_start_session (ses_cb_t *scb)
 Start a NETCONF over TLS session. More...
 
void agt_openssl_cleanup_session (ses_cb_t *scb)
 Cleanup a NETCONF over TLS session. More...
 
status_t agt_openssl_set_cert_to_name (val_value_t *val, uint32 id)
 Create or replace the cert-to-name entry. More...
 
status_t agt_openssl_delete_cert_to_name (uint32 id)
 Delete the cert-to-name entry. More...
 
status_t agt_openssl_delete_all_cert_to_name (void)
 Delete all cert-to-name entries. More...
 
status_t agt_openssl_check_fingerprint (const xmlChar *fprintstr)
 Check if fingerprint value is OK. More...
 

Detailed Description

NETCONF over TLS support using OpenSSL library APIs.

Not used unless with-netconf-tls is true.

Function Documentation

◆ agt_openssl_check_fingerprint()

status_t agt_openssl_check_fingerprint ( const xmlChar *  fprintstr)

Check if fingerprint value is OK.

Parameters
fprintstrtls-fingerprint to check
Returns
status
Here is the caller graph for this function:

◆ agt_openssl_cleanup()

void agt_openssl_cleanup ( void  )

Cleanup the OpenSSL module.

Called by the server during shutdown.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ agt_openssl_cleanup_session()

void agt_openssl_cleanup_session ( ses_cb_t scb)

Cleanup a NETCONF over TLS session.

Parameters
scbsession control block to cleanup
Here is the caller graph for this function:

◆ agt_openssl_delete_all_cert_to_name()

status_t agt_openssl_delete_all_cert_to_name ( void  )

Delete all cert-to-name entries.

Used when /cert-usermap container is deleted

Returns
status
Here is the call graph for this function:
Here is the caller graph for this function:

◆ agt_openssl_delete_cert_to_name()

status_t agt_openssl_delete_cert_to_name ( uint32  id)

Delete the cert-to-name entry.

Parameters
id== key leaf value for the entry to delete
Returns
status
Here is the call graph for this function:
Here is the caller graph for this function:

◆ agt_openssl_init()

status_t agt_openssl_init ( void  )

Initialize the OpenSSL module.

Returns
status of the initialization procedure
Here is the call graph for this function:
Here is the caller graph for this function:

◆ agt_openssl_init0()

void agt_openssl_init0 ( void  )

Initialize the openssl module data structures.

Allows the cert-to-name entries to be added in init2 phase

Here is the call graph for this function:

◆ agt_openssl_set_cert_to_name()

status_t agt_openssl_set_cert_to_name ( val_value_t val,
uint32  id 
)

Create or replace the cert-to-name entry.

Parameters
valval_value_t representing cert-to-name
id== key leaf value for this entry
Returns
status
Here is the call graph for this function:
Here is the caller graph for this function:

◆ agt_openssl_start_session()

status_t agt_openssl_start_session ( ses_cb_t scb)

Start a NETCONF over TLS session.

Parameters
scbsession control block started
Returns
status
Here is the call graph for this function:
Here is the caller graph for this function: