From 46bbb370e4ff32edb021bafc36b9521c6412c637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 27 Jul 2005 21:21:52 +0000 Subject: [PATCH] generate SignedData git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15805 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/data/gen-req.sh | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/lib/hx509/data/gen-req.sh b/lib/hx509/data/gen-req.sh index 5db233d97..5ab739558 100644 --- a/lib/hx509/data/gen-req.sh +++ b/lib/hx509/data/gen-req.sh @@ -63,3 +63,36 @@ openssl pkcs12 \ -caname sub-ca \ -caname ca +openssl smime \ + -sign \ + -nodetach \ + -binary \ + -in ../test_chain.in \ + -signer test.crt \ + -inkey test.key \ + -outform DER \ + -out test-signed-data + +openssl smime \ + -sign \ + -nodetach \ + -binary \ + -in ../test_chain.in \ + -signer test.crt \ + -inkey test.key \ + -noattr \ + -outform DER \ + -out test-signed-data-noattr + +openssl smime \ + -sign \ + -nodetach \ + -binary \ + -in ../test_chain.in \ + -signer test.crt \ + -inkey test.key \ + -noattr \ + -nocerts \ + -outform DER \ + -out test-signed-data-noattr-nocerts +