From 2d1a4b07e6f94d34850c41ae6a88c7721d18204d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 17 Dec 2007 06:57:48 +0000 Subject: [PATCH] doxygen git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22335 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/ca.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/lib/hx509/ca.c b/lib/hx509/ca.c index 1079ca9a5..87152c194 100644 --- a/lib/hx509/ca.c +++ b/lib/hx509/ca.c @@ -35,6 +35,12 @@ #include RCSID("$Id$"); +/** + * @page page_ca Hx509 CA functions + * + * See the library functions here: @ref hx509_ca + */ + struct hx509_ca_tbs { hx509_name subject; SubjectPublicKeyInfo spki; @@ -55,6 +61,18 @@ struct hx509_ca_tbs { CRLDistributionPoints crldp; }; +/** + * Allocate an To Be Signed object that will be converted into an + * certificate. + * + * @param context A hx509 context. + * @param tbs returned to be signed object, free with hx509_ca_tbs_free(). + * + * @return An hx509 error code, see hx509_get_error_string(). + * + * @ingroup hx509_ca + */ + int hx509_ca_tbs_init(hx509_context context, hx509_ca_tbs *tbs) { @@ -74,6 +92,14 @@ hx509_ca_tbs_init(hx509_context context, hx509_ca_tbs *tbs) return 0; } +/** + * Free an To Be Signed object. + * + * @param tbs object to free. + * + * @ingroup hx509_ca + */ + void hx509_ca_tbs_free(hx509_ca_tbs *tbs) {