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  - return the CRL's issuer distin‐
7       guished name
8

SYNOPSIS

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

ARGUMENTS

17       gnutls_x509_crl_t crl
18                   should contain a gnutls_x509_crl_t structure
19
20       const char * oid
21                   holds an Object Identified in null terminated string
22
23       int indx    In case multiple same OIDs exist in the RDN, this specifies
24                   which to send. Use zero 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       RFC2253. 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 zero, this function will only return known  OIDs  as  text.
43       Other  OIDs will be DER encoded, as described in RFC2253 -- in hex for‐
44       mat with a 'using gnutls_x509_dn_oid_known().
45
46       If buf is null then only the size will be filled.
47

RETURNS

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

REPORTING BUGS

54       Report   bugs   to    <bug-gnutls@gnu.org>.     GnuTLS    home    page:
55       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
56       http://www.gnu.org/gethelp/
57
59       Copyright © 2008 Free Software Foundation.
60       Copying and distribution of this file, with  or  without  modification,
61       are  permitted  in  any  medium  without royalty provided the copyright
62       notice and this notice are preserved.
63

SEE ALSO

65       The full documentation for gnutls is maintained as  a  Texinfo  manual.
66       If  the  info  and gnutls programs are properly installed at your site,
67       the command
68
69              info gnutls
70
71       should give you access to the complete manual.
72
73
74
75gnutls                               2.8g.n6utls_x509_crl_get_issuer_dn_by_oid(3)
Impressum