|
|
|
@ -30,7 +30,10 @@ int main(int argc, char** argv) try { |
|
|
|
|
std::string slot; |
|
|
|
|
std::string cert; |
|
|
|
|
|
|
|
|
|
mrw::args::parse(argc, argv, mrw::args::list() |
|
|
|
|
mrw::args::parse(argc, argv, |
|
|
|
|
"Sign a text (optionally several times for performance" |
|
|
|
|
" measurements).", |
|
|
|
|
mrw::args::list() |
|
|
|
|
<<mrw::args::decl("h", "help", "show help", |
|
|
|
|
mrw::args::decl::param_list() |
|
|
|
|
<<mrw::args::help() |
|
|
|
@ -49,7 +52,7 @@ int main(int argc, char** argv) try { |
|
|
|
|
<<mrw::args::param(slot, "name")) |
|
|
|
|
<<mrw::args::decl("c","cert", "name of certificate", |
|
|
|
|
mrw::args::decl::param_list() |
|
|
|
|
<<mrw::args::param(cert, "name")));xs |
|
|
|
|
<<mrw::args::param(cert, "name"))); |
|
|
|
|
|
|
|
|
|
std::cout<<"Sign text "<<r<<" times:"<<std::endl |
|
|
|
|
<<"-----------------------------------------------------"<<std::endl |
|
|
|
|