generate a signed object that for a CMS Signed Data
object using the given provider - if encapsulate is true a copy
of the message will be included in the signature with the
default content type "data".
generate a signed object that for a CMS Signed Data
object using the given provider - if encapsulate is true a copy
of the message will be included in the signature.
Example of how to set up a certificiate chain and a PKCS 12 store for
a private individual - obviously you'll need to generate your own keys,
and you may need to add a NetscapeCertType extension or add a key
usage extension depending on your application, but you should get the
idea!
verify that the given certificate succesfully handles and confirms the
signature associated with this signer and, if a signingTime attribute is
available, that the certificate was valid at the time the signature was
generated.