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 (0) 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       RFC4514. 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  (0),  this function will only return known OIDs as text.
42       Other OIDs will be DER encoded, as described in RFC4514 -- in hex  for‐
43       mat  with  a  '#'  prefix.   You  can  check  about  known  OIDs  using
44       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 <bugs@gnutls.org>.
55       Home page: http://www.gnutls.org
56
57
59       Copyright © 2001-2014 Free Software Foundation, Inc..
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 /usr/share/doc/gnutls/ directory does not contain the HTML form
67       visit
68
69       http://www.gnutls.org/manual/
70
71gnutls                              3.3.g2n9utls_x509_crl_get_issuer_dn_by_oid(3)
Impressum