summaryrefslogtreecommitdiffstats
path: root/apps/apps.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-10-09 23:13:50 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-10-09 23:13:50 +0000
commit9309ea66177f927aefa14bf317a578427139a0fc (patch)
treedde4b5ce742168c5860279a634457045ac562e17 /apps/apps.h
parent05c9e3aea584c4d618dc32a4825287f06828a537 (diff)
Backport PSS signature support from HEAD.
Diffstat (limited to 'apps/apps.h')
-rw-r--r--apps/apps.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/apps.h b/apps/apps.h
index f92744b42c..42a388648e 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -317,6 +317,12 @@ int bio_to_mem(unsigned char **out, int maxlen, BIO *in);
int pkey_ctrl_string(EVP_PKEY_CTX *ctx, char *value);
int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx,
const char *algname, ENGINE *e, int do_param);
+int do_X509_sign(BIO *err, X509 *x, EVP_PKEY *pkey, const EVP_MD *md,
+ STACK_OF(OPENSSL_STRING) *sigopts);
+int do_X509_REQ_sign(BIO *err, X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md,
+ STACK_OF(OPENSSL_STRING) *sigopts);
+int do_X509_CRL_sign(BIO *err, X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md,
+ STACK_OF(OPENSSL_STRING) *sigopts);
#ifndef OPENSSL_NO_PSK
extern char *psk_key;
#endif