Blame doc/functions/gnutls_x509_crl_get_dn_oid

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {int} {gnutls_x509_crl_get_dn_oid} (gnutls_x509_crl_t @var{crl}, unsigned @var{indx}, void * @var{oid}, size_t * @var{sizeof_oid})
Packit aea12f
@var{crl}: should contain a gnutls_x509_crl_t type
Packit aea12f
Packit aea12f
@var{indx}: Specifies which DN OID to send. Use (0) to get the first one.
Packit aea12f
Packit aea12f
@var{oid}: a pointer to store the OID (may be null)
Packit aea12f
Packit aea12f
@var{sizeof_oid}: initially holds the size of 'oid'
Packit aea12f
Packit aea12f
This function will extract the requested OID of the name of the CRL
Packit aea12f
issuer, specified by the given index.
Packit aea12f
Packit aea12f
If oid is null then only the size will be filled.
Packit aea12f
Packit aea12f
@strong{Returns:} @code{GNUTLS_E_SHORT_MEMORY_BUFFER}  if the provided buffer is
Packit aea12f
not long enough, and in that case the sizeof_oid will be updated
Packit aea12f
with the required size.  On success 0 is returned.
Packit aea12f
@end deftypefun