[VB6 equivalent: CMS_MakeEnvData]
Dim nRet As Integer
' This should return 2 (indicating two successful recipients)
nRet = Cms.MakeEnvData("cms2bobandcarl.p7m", "excontent.txt", _
"BobRSASignByCarl.cer;CarlRSASelf.cer", CipherAlgorithm.Tdea, 0)
Console.WriteLine("CMS_MakeEnvData returns " & nRet)
See Also:
Cms.MakeEnvData Method ( String, String, String, CipherAlgorithm, Cms.EnvDataOptions )
Cms.MakeEnvData Method ( String, String, String, CipherAlgorithm, Cms.KeyEncrAlgorithm, HashAlgorithm, Cms.EnvDataOptions, KdfAlg, KeyWrapAlg, String, Int32 )