Add algorithm specific signature printing. An individual ASN1 method can
authorDr. Stephen Henson <steve@openssl.org>
Sat, 6 Mar 2010 18:05:05 +0000 (18:05 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 6 Mar 2010 18:05:05 +0000 (18:05 +0000)
commitfa1ba589f3feab2c1d8c87109d18978238a9877f
tree15c7aeba40a8354dd80c5bd83bd8f2ac3b383b89
parent8c4ce7bab2dd880696d78f19336e3cabacbccb4a
Add algorithm specific signature printing. An individual ASN1 method can
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]
12 files changed:
CHANGES
crypto/asn1/asn1.h
crypto/asn1/asn1_locl.h
crypto/asn1/t_x509.c
crypto/cmac/cm_ameth.c
crypto/dh/dh_ameth.c
crypto/dsa/dsa_ameth.c
crypto/ec/ec_ameth.c
crypto/hmac/hm_ameth.c
crypto/ossl_typ.h
crypto/rsa/rsa_ameth.c
crypto/x509/x509.h