mirror of
git://git.gnupg.org/libksba.git
synced 2025-12-05 22:28:43 +00:00
No description
* src/ocsp.h (struct ocsp_reqitem_s): Increase size of hash items. (struct ksba_ocsp_s): Add flag sha256_certid. * src/ocsp.c (oidstr_sha256): New. (ksba_ocsp_set_nonce): Add hack to set/clear this flag. (issuer_name_hash): Add arg use_sha256 and change accordingly. (issuer_key_hash): Ditto. (ksba_ocsp_prepare_request): Make use of the new flag. (parse_single_response): Allow the use of SHA256 CertID items. * tests/sha1.c (sha256_hash_buffer): New. Also add a bunch of othe functions to implement SHA256. * tests/t-ocsp.c (sha256_certid): New flag. (one_request): Use it. (one_response): Ditto. (my_hash_buffer): Support SHA256. (main): Add option --sha256. |
||
|---|---|---|
| build-aux | ||
| doc | ||
| gl | ||
| m4 | ||
| src | ||
| tests | ||
| .gitignore | ||
| announce.txt | ||
| AUTHORS | ||
| autogen.rc | ||
| autogen.sh | ||
| ChangeLog | ||
| ChangeLog-2011 | ||
| configure.ac | ||
| COPYING | ||
| COPYING.GPLv2 | ||
| COPYING.GPLv3 | ||
| COPYING.LGPLv3 | ||
| INSTALL | ||
| ksba.txt | ||
| Makefile.am | ||
| mkinstalldirs | ||
| NEWS | ||
| README | ||
| README.GIT | ||
| THANKS | ||
| TODO | ||
LIBKSBA
---------
Copyright (C) 2001-2006, 2010-2015, 2018-2023 g10 Code GmbH
This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without
modifications, as long as this notice is preserved.
This file is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Libksba itself is distributed under the terms of the GNU General
Public License, see the file AUTHORS for details.
KSBA Overview
-------------
KSBA (pronounced Kasbah) is a library to make X.509 certificates as
well as the CMS easily accessible by other applications. Both
specifications are building blocks of S/MIME and TLS.
KSBA is made available as a standard shared library and reserves
identifiers starting with "ksba" and "_ksba" (also uppercase and mixed
case). It does not rely on another cryptographic library.
Documentation
-------------
A standard info format reference manual is included. However the OCSP
feature has not yet been documented. See the comments in src/ocsp.c
and the example tests/t-ocsp.c. The GnuPG's dirmngr module makes
extensive use of the OCSP feature and may be used as another example.