add contentinfo wrapping for create/unwrap enveloped data

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15819 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-07-27 23:49:18 +00:00
parent 696002ebd3
commit b49ccf6f28
2 changed files with 66 additions and 7 deletions

View File

@@ -85,6 +85,11 @@ command = {
}
command = {
name = "cms-unenvelope"
option = {
long = "content-info"
type = "flag"
help = "wrapped out-data in a ContentInfo"
}
min_args="2"
argument="in-file out-file"
help = "Unenvelope a file containing a EnvelopedData object"
@@ -92,6 +97,11 @@ command = {
command = {
name = "cms-envelope"
function = "cms_create_enveloped"
option = {
long = "content-info"
type = "flag"
help = "wrapped out-data in a ContentInfo"
}
min_args="3"
argument="certificate in-file out-file"
help = "Envelope a file containing a EnvelopedData object"