openssl/apps
David Cooper b4dd21a7b8 Add -rsigopt option to ocsp command
Add a -rsigopt option to the ocsp command that allows signature parameters to be provided for the signing of OCSP responses. The parameters that may be provided to -rsigopt are the same as may be provided to -sigopt in the ca, req, and x509 commands.

This PR also defines a OCSP_basic_sign_ctx() function, which functions in the same way as OCSP_basic_sign(), except that it accepts a EVP_MD_CTX rather than a key and digest. The OCSP_basic_sign_ctx() function is used to implement the -rsigopt option in the ocsp command.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4190)
2018-01-24 18:30:31 +00:00
..
demoSRP Missing SRP files. 2011-03-16 11:50:33 +00:00
app_rand.c Fix use-after-free 2017-07-17 07:46:49 -04:00
apps.c Add 'openssl req' option to specify extension values on command line 2017-12-28 16:07:58 +01:00
apps.h Enable the cookie callbacks to work even in TLS in the apps 2018-01-24 18:02:36 +00:00
asn1pars.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
build.info Add a simple store utility command 2017-06-29 11:55:31 +02:00
ca-cert.srl Update test server certificate in apps/server.pem (it was expired). 2000-10-16 22:56:10 +00:00
ca-key.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
ca-req.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
ca.c Don't crash on a missing Subject in index.txt 2018-01-22 10:07:41 +00:00
CA.pl.in Adjusted Argument Indices 2017-12-03 14:01:39 +01:00
cert.pem
ciphers.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
client.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
cms.c Update copyright years on all files merged since Jan 1st 2018 2018-01-09 05:49:01 +01:00
crl2p7.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
crl.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
ct_log_list.cnf GH1536: Install empty CT log list 2016-09-14 18:22:33 -04:00
dgst.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
dh1024.pem Update Diffie-Hellman parameters to IANA standards 2016-05-03 10:32:01 -04:00
dh2048.pem Update Diffie-Hellman parameters to IANA standards 2016-05-03 10:32:01 -04:00
dh4096.pem Update Diffie-Hellman parameters to IANA standards 2016-05-03 10:32:01 -04:00
dhparam.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
dsa512.pem
dsa1024.pem
dsa-ca.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
dsa-pca.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
dsa.c Add error handling in dsa_main and ASN1_i2d_bio. 2017-11-03 15:46:51 +01:00
dsap.pem
dsaparam.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
ec.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
ecparam.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
enc.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
engine.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
errstr.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
gendsa.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
genpkey.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
genrsa.c Support multi-prime RSA (RFC 8017) 2017-11-21 14:38:42 +08:00
nseq.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
ocsp.c Add -rsigopt option to ocsp command 2018-01-24 18:30:31 +00:00
openssl-vms.cnf Added support for ESSCertIDv2 2017-05-03 09:04:23 +02:00
openssl.c Update copyright years on all files merged since Jan 1st 2018 2018-01-09 05:49:01 +01:00
openssl.cnf Added support for ESSCertIDv2 2017-05-03 09:04:23 +02:00
opt.c Copyright update of more files that have changed this year 2018-01-19 13:34:03 +01:00
passwd.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
pca-cert.srl Update test server certificate in apps/server.pem (it was expired). 2000-10-16 22:56:10 +00:00
pca-key.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
pca-req.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
pkcs7.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
pkcs8.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
pkcs12.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
pkey.c Support public key and param check in EVP interface 2017-11-20 07:20:30 +01:00
pkeyparam.c Support public key and param check in EVP interface 2017-11-20 07:20:30 +01:00
pkeyutl.c Allow use of long name for KDFs 2017-08-03 02:18:44 +01:00
prime.c Check # of arguments for remaining commands. 2017-08-21 10:58:49 -04:00
privkey.pem PR: 1644 2009-09-06 15:49:46 +00:00
progs.pl Copyright update of more files that have changed this year 2018-01-19 13:34:03 +01:00
rand.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
rehash.c Since return is inconsistent, I removed unnecessary parentheses and 2017-10-09 13:17:09 +01:00
req.c Add 'openssl req' option to specify extension values on command line 2017-12-28 16:07:58 +01:00
req.pem
rsa8192.pem
rsa.c Fix typo in comment 2017-12-11 09:22:39 -06:00
rsautl.c Standardize apps use of -rand, etc. 2017-07-16 19:20:45 -04:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_apps.h Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
s_cb.c Enable the cookie callbacks to work even in TLS in the apps 2018-01-24 18:02:36 +00:00
s_client.c Copyright update of more files that have changed this year 2018-01-19 13:34:03 +01:00
s_server.c Add the ability for s_server to operate statelessly 2018-01-24 18:02:37 +00:00
s_socket.c Enable the cookie callbacks to work even in TLS in the apps 2018-01-24 18:02:36 +00:00
s_time.c (Re)move some things from e_os.h 2017-08-22 14:15:40 -04:00
server2.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
server.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
server.srl
sess_id.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
smime.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
speed.c Fix no-ec --strict-warnings builds 2018-01-23 08:59:28 -06:00
spkac.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
srp.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
storeutl.c Add a recursive option to 'openssl storeutl' 2017-09-12 11:38:16 +02:00
testCA.pem
testdsa.h Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
testrsa.h Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
timeouts.h Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
ts.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
tsget.in Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
verify.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
version.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
vms_decc_init.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
vms_term_sock.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
vms_term_sock.h Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
win32_init.c Fix not-c code 2016-10-19 00:56:48 +02:00
x509.c Fix small but important regression 2017-11-02 10:47:51 +00:00