Функции API (API function)
Имя (Name)
gnutls_ocsp_resp_get_nonce - API function
Синопсис (Synopsis)
#include <gnutls/ocsp.h>
int gnutls_ocsp_resp_get_nonce(gnutls_ocsp_resp_const_t
resp,
unsigned int *
critical, gnutls_datum_t *
nonce);
Аргументы (Arguments)
gnutls_ocsp_resp_const_t resp
should contain a gnutls_ocsp_resp_t
type
unsigned int * critical
whether nonce extension is marked critical
gnutls_datum_t * nonce
will hold newly allocated buffer with nonce data
Описание (Description)
This function will return the Basic OCSP Response nonce extension
data.
The caller needs to deallocate memory by calling gnutls_free()
on
nonce ->data.
Возвращаемое значение (Return value)
On success, GNUTLS_E_SUCCESS
(0) is returned, otherwise a
negative error code is returned.
Сообщение об ошибках (Reporting bugs)
Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org
Смотри также (See also)
The full documentation for gnutls
is maintained as a Texinfo
manual. If the /usr/share/doc/gnutls/ directory does not contain
the HTML form visit
https://www.gnutls.org/manual/