diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-03-06 18:05:05 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-03-06 18:05:05 +0000 |
commit | fa1ba589f3feab2c1d8c87109d18978238a9877f (patch) | |
tree | 15c7aeba40a8354dd80c5bd83bd8f2ac3b383b89 /crypto/x509/x509.h | |
parent | 8c4ce7bab2dd880696d78f19336e3cabacbccb4a (diff) |
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]
Diffstat (limited to 'crypto/x509/x509.h')
-rw-r--r-- | crypto/x509/x509.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index eb1b7c6b2d..9fbb0c809d 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -656,6 +656,7 @@ int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey); int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki); +int X509_signature_dump(BIO *bp,const ASN1_STRING *sig, int indent); int X509_signature_print(BIO *bp,X509_ALGOR *alg, ASN1_STRING *sig); int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); |