1gnutls_x509_crt_get_extension_oid(3)gnutlsgnutls_x509_crt_get_extension_oid(3)
2
3
4

NAME

6       gnutls_x509_crt_get_extension_oid - This function returns the specified
7       extension OID
8

SYNOPSIS

10       #include <gnutls/x509.h>
11
12       int gnutls_x509_crt_get_extension_oid(gnutls_x509_crt_t cert, int indx,
13       void * oid, size_t * sizeof_oid);
14

ARGUMENTS

16       gnutls_x509_crt_t cert
17                   should contain a gnutls_x509_crt_t structure
18
19       int indx    Specifies  which extension OID to send. Use zero to get the
20                   first one.
21
22       void * oid  a pointer to a structure to hold the OID (may be null)
23
24       size_t * sizeof_oid
25                   initially holds the size of oid
26

DESCRIPTION

28       This function will return the requested extension OID in  the  certifi‐
29       cate.   The  extension  OID  will be stored as a string in the provided
30       buffer.
31
32       A negative value may be returned in case of  parsing  error.   If  your
33       have       reached       the       last       extension       available
34       GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be returned.
35

REPORTING BUGS

37       Report bugs to <bug-gnutls@gnu.org>.
38
40       Copyright © 2006 Free Software Foundation.
41       Permission is granted to make and distribute verbatim  copies  of  this
42       manual  provided  the  copyright  notice and this permission notice are
43       preserved on all copies.
44

SEE ALSO

46       The full documentation for gnutls is maintained as  a  Texinfo  manual.
47       If  the  info  and gnutls programs are properly installed at your site,
48       the command
49
50              info gnutls
51
52       should give you access to the complete manual.
53
54
55
56gnutls                               1.6.3gnutls_x509_crt_get_extension_oid(3)
Impressum