1gnutls_x509_dn_oid_known(3)         gnutls         gnutls_x509_dn_oid_known(3)
2
3
4

NAME

6       gnutls_x509_dn_oid_known  - This function will return true if the given
7       OID is known
8

SYNOPSIS

10       #include <gnutls/x509.h>
11
12       int gnutls_x509_dn_oid_known(const char * oid);
13

ARGUMENTS

15       const char * oid
16                   holds an Object Identifier in a null terminated string
17

DESCRIPTION

19       This function will inform about known DN OIDs.  This  is  useful  since
20       functions  like  gnutls_x509_crt_set_dn_by_oid() use the information on
21       known OIDs to properly encode their input. Object Identifiers that  are
22       not known are not encoded by these functions, and their input is stored
23       directly into the ASN.1 structure. In that case of  unknown  OIDs,  you
24       have the responsibility of DER encoding your data.
25
26       Returns 1 on known OIDs and 0 otherwise.
27

REPORTING BUGS

29       Report bugs to <bug-gnutls@gnu.org>.
30
32       Copyright © 2006 Free Software Foundation.
33       Permission  is  granted  to make and distribute verbatim copies of this
34       manual provided the copyright notice and  this  permission  notice  are
35       preserved on all copies.
36

SEE ALSO

38       The  full  documentation  for gnutls is maintained as a Texinfo manual.
39       If the info and gnutls programs are properly installed  at  your  site,
40       the command
41
42              info gnutls
43
44       should give you access to the complete manual.
45
46
47
48gnutls                               1.6.3         gnutls_x509_dn_oid_known(3)
Impressum