Blame doc/functions/gnutls_x509_crq_get_dn_oid

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_x509_crq_get_dn_oid} (gnutls_x509_crq_t @var{crq}, unsigned @var{indx}, void * @var{oid}, size_t * @var{sizeof_oid})
Packit Service 4684c1
@var{crq}: should contain a gnutls_x509_crq_t type
Packit Service 4684c1
Packit Service 4684c1
@var{indx}: Specifies which DN OID to get. Use (0) to get the first one.
Packit Service 4684c1
Packit Service 4684c1
@var{oid}: a pointer to a structure to hold the name (may be @code{NULL} )
Packit Service 4684c1
Packit Service 4684c1
@var{sizeof_oid}: initially holds the size of  @code{oid} 
Packit Service 4684c1
Packit Service 4684c1
This function will extract the requested OID of the name of the
Packit Service 4684c1
certificate request subject, specified by the given index.
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} @code{GNUTLS_E_SHORT_MEMORY_BUFFER}  if the provided buffer is
Packit Service 4684c1
not long enough, and in that case the * @code{sizeof_oid} will be
Packit Service 4684c1
updated with the required size.  On success 0 is returned.
Packit Service 4684c1
@end deftypefun