yumapro
24.10-1
YumaPro SDK
|
NETCONF over TLS support using OpenSSL library APIs. More...
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... | |
NETCONF over TLS support using OpenSSL library APIs.
Not used unless with-netconf-tls is true.
status_t agt_openssl_check_fingerprint | ( | const xmlChar * | fprintstr | ) |
Check if fingerprint value is OK.
fprintstr | tls-fingerprint to check |
void agt_openssl_cleanup | ( | void | ) |
Cleanup the OpenSSL module.
Called by the server during shutdown.
void agt_openssl_cleanup_session | ( | ses_cb_t * | scb | ) |
Cleanup a NETCONF over TLS session.
scb | session control block to cleanup |
status_t agt_openssl_delete_all_cert_to_name | ( | void | ) |
Delete all cert-to-name entries.
Used when /cert-usermap container is deleted
status_t agt_openssl_delete_cert_to_name | ( | uint32 | id | ) |
Delete the cert-to-name entry.
id | == key leaf value for the entry to delete |
status_t agt_openssl_init | ( | void | ) |
Initialize the OpenSSL module.
void agt_openssl_init0 | ( | void | ) |
Initialize the openssl module data structures.
Allows the cert-to-name entries to be added in init2 phase
status_t agt_openssl_set_cert_to_name | ( | val_value_t * | val, |
uint32 | id | ||
) |
Create or replace the cert-to-name entry.
val | val_value_t representing cert-to-name |
id | == key leaf value for this entry |