summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_x509.c
AgeCommit message (Collapse)Author
2010-10-04fix signature printing routinesDr. Stephen Henson
2010-03-07print outermost signature algorithm parameters tooDr. Stephen Henson
2010-03-06fix indent, newlineDr. Stephen Henson
2010-03-06Add algorithm specific signature printing. An individual ASN1 method canDr. Stephen Henson
now print out signatures instead of the standard hex dump. More complex signatures (e.g. PSS) can print out more meaningful information. Sample DSA version included that prints out the signature parameters r, s. [Note EVP_PKEY_ASN1_METHOD is an application opaque structure so adding new fields in the middle has no compatibility issues]
2009-09-23Audit libcrypto for unchecked return values: fix all cases enounteredDr. Stephen Henson
2009-08-10PR: 2004Dr. Stephen Henson
Submitted by: Peter Sylvester <peter.sylvester@edelweb.fr> Approved by: steve@openssl.org Handle fractional seconds properly in ASN1_GENERALIZEDTIME_print
2008-11-05Don't use clobbered 'i' for checking UTCTime and GeneralizedTime length.Dr. Stephen Henson
2008-07-16Make sure not to read beyond end of bufferBodo Möller
2007-12-29Source readability fix, which incidentally works around XLC compiler bug.Andy Polyakov
2007-02-10remove unreachable codeNils Larsch
2006-03-22Gather printing routines into EVP_PKEY_ASN1_METHOD.Dr. Stephen Henson
2006-03-15fix problems found by coverity: remove useless codeNils Larsch
2006-03-05constify some print and ts functionsNils Larsch
2006-02-12RFC 3161 compliant time stamp request creation, response generationUlf Möller
and response verification. Submitted by: Zoltan Glozik <zglozik@opentsa.org> Reviewed by: Ulf Moeller
2005-05-16ecc api cleanup; summary:Nils Larsch
- hide the EC_KEY structure definition in ec_lcl.c + add some functions to use/access the EC_KEY fields - change the way how method specific data (ecdsa/ecdh) is attached to a EC_KEY - add ECDSA_sign_ex and ECDSA_do_sign_ex functions with additional parameters for pre-computed values - rebuild libeay.num from 0.9.7
2005-05-11Fix more error codes.Bodo Möller
(Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
2002-11-13free() -> OPENSSL_free()Richard Levitte
2002-11-13Security fixes brought forward from 0.9.7.Ben Laurie
2002-08-07use a generic EC_KEY structure (EC keys are not ECDSA specific)Bodo Möller
Submitted by: Nils Larsch
2002-02-13ECDSA supportBodo Möller
Submitted by: Nils Larsch <nla@trustcenter.de>
2001-10-16Retain compatibility of EVP_DigestInit() and EVP_DigestFinal()Dr. Stephen Henson
with existing code. Modify library to use digest *_ex() functions.
2001-06-26Another empty X509_NAME fix.Dr. Stephen Henson
2001-06-26Handle empty X509_NAME in printing routines.Dr. Stephen Henson
2001-06-19Change all calls to low level digest routines in the library andDr. Stephen Henson
applications to use EVP. Add missing calls to HMAC_cleanup() and don't assume HMAC_CTX can be copied using memcpy(). Note: this is almost identical to the patch submitted to openssl-dev by Verdon Walker <VWalker@novell.com> except some redundant EVP_add_digest_()/EVP_cleanup() calls were removed and some changes made to avoid compiler warnings.
2001-03-15Overhaul the display of certificate details inDr. Stephen Henson
the 'ca' utility. This can now be extensively customised in the configuration file and handles multibyte strings and extensions properly. This is required when extensions copying from certificate requests is supported: the user must be able to view the extensions before allowing a certificate to be issued.
2001-03-15Document the -certopt option to the x509 utility.Dr. Stephen Henson
Add no_issuer option. Fix X509_print_ex() so it prints out newlines when certain fields are omitted.
2001-02-24Print out OID of unknown signature or public keyDr. Stephen Henson
algorithms.
2001-02-19Make all configuration macros available for application by makingRichard Levitte
sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
2000-12-14New function X509V3_extensions_print() this removes extension duplicationDr. Stephen Henson
from the print routines. Reorganisation of OCSP code: initial print routines in ocsp_prn.c. Doesn't work fully because OCSP extensions aren't reimplemented yet. Implement some ASN1 functions needed to compile OCSP code.
2000-12-14New function X509_signature_print() to remove some duplicateDr. Stephen Henson
code from certificate, CRL and request printing routines.
2000-10-27The majority of the OCSP code from CertCo.Richard Levitte
2000-10-06More code for X509_print_ex() support.Dr. Stephen Henson
2000-10-04Global DirectoryString mask fix.Dr. Stephen Henson
Add support for X509_NAME_print_ex() in req. Initial code for cutomizable X509 print routines.
2000-06-01There have been a number of complaints from a number of sources that namesRichard Levitte
like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.
2000-01-30Seek out and destroy another evil cast.Ulf Möller
1999-11-04Allow additional information to be attached to aDr. Stephen Henson
certificate: currently this includes trust settings and a "friendly name".
1999-10-20Replace the macros in asn1.h with function equivalents. Also make UTF8StringsDr. Stephen Henson
tolerated in certificates.
1999-08-09Support for parsing of certificate extensions in PKCS#10 requests: these areDr. Stephen Henson
used by things like Xenroll. Also include documentation for extendedKeyUsage extension.
1999-08-03More diagnostics.Ben Laurie
1999-06-04Support the EBCDIC character set and BS2000/OSD-POSIX (work in progress).Ulf Möller
Submitted by: Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>
1999-04-23Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller
Submitted by: Reviewed by: PR:
1999-04-19Change functions to ANSI C.Ulf Möller
1999-04-17Massive constification.Ben Laurie
1999-03-27Add initial support for Thawte strong extranet certificate extensions andDr. Stephen Henson
include an 'indent' option to V3 stuff.
1999-01-24Continuing adding X509 V3 support. This starts to integrate the code withDr. Stephen Henson
the main library, but only with printing at present. To see this try: openssl x509 -in cert.pem -text on a certificate with some extensions in it.
1999-01-20Continued patches so certificates and CRLs now can support and useDr. Stephen Henson
GeneralizedTime.
1999-01-17Time to blow up the source tree :-) This is the beginning of support forDr. Stephen Henson
GeneralizedTime. At several points PKIX specifies that GeneralizedTime can be used but OpenSSL doesn't currently support it. This patch adds several files and a bunch of functions. Of interest is the ASN1_TIME structure and its related functions. At several points certificates, CRLs et al specify that a time can be expressed as a choice of UTCTime and GeneralizedTime. Currently OpenSSL interprets this (wrongly) as UTCTime because GeneralizedTime isn't supported. The ASN1_TIME stuff provides this functionality. Still todo is to trace which cert and CRL points need an ASN1_TIME and modify the utilities appropriately and of course fix all the bugs. Note new OpenSSL copyright in the new file a_time.c. I didn't put it in a_gentm.c because it is a minimally modified form a_utctm.c . Since this adds new files and error codes you will need to do a 'make errors' at the top level to add the new codes.
1999-01-03Make sure applications free up pkey structures and add netscape extensionDr. Stephen Henson
handling to x509.c
1998-12-21Import of old SSLeay release: SSLeay 0.9.1b (unreleased)SSLeayRalf S. Engelschall
1998-12-21Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall