summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2015-06-02 14:40:56 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2015-06-02 14:40:56 +0200
commit51747a93243bd928c68f138febf55f4c7c3bf1bb (patch)
tree2761d59d47323f8301d24e63d8a685c46a451543 /doc
parent4ddff2fa78af4ff1ef5088576b0d99f708385685 (diff)
downloadgnutls-51747a93243bd928c68f138febf55f4c7c3bf1bb.tar.gz
doc: Separated the PKCS #7 in manual
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am14
-rw-r--r--doc/cha-functions.texi9
-rw-r--r--doc/doc.mk3
3 files changed, 24 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index c61af2ee51..1e7edd7382 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -202,7 +202,8 @@ MAINTAINERCLEANFILES =
API_FILES=gnutls-api.texi x509-api.texi pgp-api.texi pkcs12-api.texi \
tpm-api.texi pkcs11-api.texi abstract-api.texi compat-api.texi \
- dtls-api.texi crypto-api.texi ocsp-api.texi tpm-api.texi dane-api.texi
+ dtls-api.texi crypto-api.texi ocsp-api.texi tpm-api.texi dane-api.texi \
+ pkcs7-api.texi
clean-local:
-rm -f stamp_enums stamp_functions
@@ -282,6 +283,17 @@ pkcs11-api.texi: $(top_srcdir)/lib/includes/gnutls/pkcs11.h
done
mv -f $@-tmp $@
+pkcs7-api.texi: $(top_srcdir)/lib/includes/gnutls/pkcs7.h
+ echo "" > $@-tmp
+ for i in `$(top_srcdir)/doc/scripts/getfuncs.pl < $< |sort|uniq`; do \
+ echo $(ECHO_N) "Creating documentation for $$i... " && \
+ $(srcdir)/scripts/gdoc -texinfo \
+ -function $$i \
+ $(C_SOURCE_FILES) >> $@-tmp 2>/dev/null && \
+ echo "ok"; \
+ done
+ mv -f $@-tmp $@
+
tpm-api.texi: $(top_srcdir)/lib/includes/gnutls/tpm.h
echo "" > $@-tmp
for i in `$(top_srcdir)/doc/scripts/getfuncs.pl < $< |sort|uniq`; do \
diff --git a/doc/cha-functions.texi b/doc/cha-functions.texi
index da86cc4b2c..87c2f87475 100644
--- a/doc/cha-functions.texi
+++ b/doc/cha-functions.texi
@@ -6,6 +6,7 @@
* Core TLS API::
* Datagram TLS API::
* X509 certificate API::
+* PKCS 7 API::
* OCSP API::
* OpenPGP API::
* PKCS 12 API::
@@ -42,6 +43,14 @@ Their prototypes lie in @file{gnutls/x509.h}.
@include x509-api.texi
+@node PKCS 7 API
+@section @acronym{PKCS} 7 API
+
+The following functions are to be used for PKCS 7 structures handling.
+Their prototypes lie in @file{gnutls/pkcs7.h}.
+
+@include pkcs7-api.texi
+
@node OCSP API
@section @acronym{OCSP} API
@cindex OCSP Functions
diff --git a/doc/doc.mk b/doc/doc.mk
index 5b6d138506..4024eb861f 100644
--- a/doc/doc.mk
+++ b/doc/doc.mk
@@ -25,6 +25,7 @@ HEADER_FILES = $(top_srcdir)/lib/includes/gnutls/gnutls.h.in \
$(top_srcdir)/lib/includes/gnutls/dtls.h $(top_srcdir)/lib/includes/gnutls/crypto.h \
$(top_srcdir)/lib/includes/gnutls/ocsp.h $(top_srcdir)/lib/includes/gnutls/tpm.h \
$(top_srcdir)/libdane/includes/gnutls/dane.h $(top_srcdir)/lib/includes/gnutls/x509-ext.h \
- $(top_srcdir)/lib/includes/gnutls/urls.h $(top_srcdir)/lib/includes/gnutls/system-keys.h
+ $(top_srcdir)/lib/includes/gnutls/urls.h $(top_srcdir)/lib/includes/gnutls/system-keys.h \
+ $(top_srcdir)/lib/includes/gnutls/pkcs7.h
C_SOURCE_FILES = $(top_srcdir)/lib/*/*.c $(top_srcdir)/lib/*.c $(top_srcdir)/libdane/*.c