Blame doc/functions/gnutls_x509_crl_get_dn_oid

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@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 Service 4684c1
@var{crl}: should contain a gnutls_x509_crl_t type
Packit Service 4684c1
Packit Service 4684c1
@var{indx}: Specifies which DN OID to send. Use (0) to get the first one.
Packit Service 4684c1
Packit Service 4684c1
@var{oid}: a pointer to store the OID (may be null)
Packit Service 4684c1
Packit Service 4684c1
@var{sizeof_oid}: initially holds the size of 'oid'
Packit Service 4684c1
Packit Service 4684c1
This function will extract the requested OID of the name of the CRL
Packit Service 4684c1
issuer, specified by the given index.
Packit Service 4684c1
Packit Service 4684c1
If oid is null then only the size will be filled.
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 sizeof_oid will be updated
Packit Service 4684c1
with the required size.  On success 0 is returned.
Packit Service 4684c1
@end deftypefun