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

DESCRIPTION

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

RETURNS

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

REPORTING BUGS

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

SEE ALSO

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