use the modifier: smime=always
* express the message digest of the signing certificate
use the modifier: smime.certdigest=<location>
* express the algorithm supported.
use the modifier: smime.alg=rsa
Or, just use: smime-info=<location>
Which illustrates my point, you need structures and so you have cobbled
together an ad-hoc internal syntax to meet this need.
With XML I can simply define the data structure and the compiler will
construct the parser for me.
What you are trying to do here is to constrain the problem to the size of
your tool. That is not a very good approach when you are trying to deal with
a problem with a legacy system.