doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22335 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -35,6 +35,12 @@ | |||||||
| #include <pkinit_asn1.h> | #include <pkinit_asn1.h> | ||||||
| RCSID("$Id$"); | RCSID("$Id$"); | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * @page page_ca Hx509 CA functions | ||||||
|  |  * | ||||||
|  |  * See the library functions here: @ref hx509_ca | ||||||
|  |  */ | ||||||
|  |  | ||||||
| struct hx509_ca_tbs { | struct hx509_ca_tbs { | ||||||
|     hx509_name subject; |     hx509_name subject; | ||||||
|     SubjectPublicKeyInfo spki; |     SubjectPublicKeyInfo spki; | ||||||
| @@ -55,6 +61,18 @@ struct hx509_ca_tbs { | |||||||
|     CRLDistributionPoints crldp; |     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 | int | ||||||
| hx509_ca_tbs_init(hx509_context context, hx509_ca_tbs *tbs) | 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; |     return 0; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Free an To Be Signed object. | ||||||
|  |  * | ||||||
|  |  * @param tbs object to free. | ||||||
|  |  * | ||||||
|  |  * @ingroup hx509_ca | ||||||
|  |  */ | ||||||
|  |  | ||||||
| void | void | ||||||
| hx509_ca_tbs_free(hx509_ca_tbs *tbs) | hx509_ca_tbs_free(hx509_ca_tbs *tbs) | ||||||
| { | { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand