gnutls_authz_send_x509_attr_cert

Langue: en

Version: 2.0.0 (mandriva - 22/10/07)

Section: 3 (Bibliothèques de fonctions)

NAME

gnutls_authz_send_x509_attr_cert - API function

SYNOPSIS

#include <gnutls/gnutls.h>

int gnutls_authz_send_x509_attr_cert(gnutls_session_t session, const char * data, size_t len);

ARGUMENTS

gnutls_session_t session
is a gnutls_session_t structure.
const char * data
buffer with a X.509 attribute certificate.
size_t len
length of buffer.

DESCRIPTION

Send a X.509 attribute certificate as authorization data. This function may only be called inside a send_callback set by gnutls_authz_enable().

RETURNS

Returns 0 on success, or an error code on failures. If the supplied data was too long (the authorization extension only support 64kb large attribute certificates), GNUTLS_E_INVALID_REQUEST is returned.

REPORTING BUGS

Report bugs to <bug-gnutls@gnu.org>. Copyright © 2006, 2007 Free Software Foundation.
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.

SEE ALSO

The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command
info gnutls

should give you access to the complete manual.