diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-12-14 00:53:10 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-12-14 00:53:10 +0000 |
commit | de487514aeb2a43fefe0d9c7cf697ff4f5e9be5f (patch) | |
tree | 6eec6edcb5768cebd9a5fbe144f49ffeca3348b0 /crypto/x509 | |
parent | 06db4253e2eb1208b60b5107c6a02d385a0e2129 (diff) |
New function X509_signature_print() to remove some duplicate
code from certificate, CRL and request printing routines.
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/x509.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index 82714b7601..6ef1b48c02 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -711,6 +711,8 @@ int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey); int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki); +int X509_signature_print(BIO *bp,X509_ALGOR *alg, ASN1_STRING *sig); + int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md); int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md); |