1gnutls_x509_crl_get_issuer_dn_by_oid(g3n)utglnsutls_x509_crl_get_issuer_dn_by_oid(3)
2
3
4

NAME

6       gnutls_x509_crl_get_issuer_dn_by_oid - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int  gnutls_x509_crl_get_issuer_dn_by_oid(gnutls_x509_crl_t  crl, const
12       char * oid, unsigned indx, unsigned int raw_flag, void * buf, size_t  *
13       sizeof_buf);
14

ARGUMENTS

16       gnutls_x509_crl_t crl
17                   should contain a gnutls_x509_crl_t type
18
19       const char * oid
20                   holds an Object Identified in null terminated string
21
22       unsigned indx
23                   In case multiple same OIDs exist in the RDN, this specifies
24                   which to send. Use (0) to get the first one.
25
26       unsigned int raw_flag
27                   If non-zero returns the raw DER data of the DN part.
28
29       void * buf  a pointer to a structure to hold the peer's  name  (may  be
30                   null)
31
32       size_t * sizeof_buf
33                   initially holds the size of  buf
34

DESCRIPTION

36       This function will extract the part of the name of the CRL issuer spec‐
37       ified by the given OID. The output will  be  encoded  as  described  in
38       RFC4514. The output string will be ASCII or UTF-8 encoded, depending on
39       the certificate data.
40
41       Some helper macros with popular OIDs can be found in  gnutls/x509.h  If
42       raw  flag  is  (0),  this function will only return known OIDs as text.
43       Other OIDs will be DER encoded, as described in RFC4514 -- in hex  for‐
44       mat  with  a  '#'  prefix.   You  can  check  about  known  OIDs  using
45       gnutls_x509_dn_oid_known().
46
47       If buf is null then only the size will be filled.
48

RETURNS

50       GNUTLS_E_SHORT_MEMORY_BUFFER if the provided buffer is not long enough,
51       and in that case the sizeof_buf will be updated with the required size,
52       and 0 on success.
53

REPORTING BUGS

55       Report bugs to <bugs@gnutls.org>.
56       Home page: https://www.gnutls.org
57
58
60       Copyright © 2001-2023 Free Software Foundation, Inc., and others.
61       Copying and distribution of this file, with  or  without  modification,
62       are  permitted in any medium without royalty provided the copyright no‐
63       tice and this notice are preserved.
64

SEE ALSO

66       The full documentation for gnutls is maintained as  a  Texinfo  manual.
67       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
68       visit
69
70       https://www.gnutls.org/manual/
71
72gnutls                               3.8g.n2utls_x509_crl_get_issuer_dn_by_oid(3)
Impressum