If you got a string you want PKCS#7 sign or envelope, are you then supposed to UTF8 encode it yourself before adding the data to the relevant Mono classes, or is that handled internally by Mono?
I got a string where I can either choose: byte[] data = System.Text.Encoding.UTF8.GetBytes(myString); or byte[] data = System.Text.Encoding.Default.GetBytes(myString); The problem is compatibility with OpenSSL. If I choose to UTF8 encode it (first choice), the text I extract using OpenSSL is not correct and it still seems UTF8 encoded. _______________________________________________________________________________________ www.kmd.dk www.kundenet.kmd.dk www.eboks.dk www.civitas.dk www.netborger.dk www.organisator.dk Hvis du har modtaget denne mail ved en fejl vil jeg gerne, at du informerer mig og sletter den. KMD skaber it-services, der fremmer effektivitet hos det offentlige, erhvervslivet og borgerne. If you received this e-mail by mistake, please notify me and delete it. Thank you. Our mission is to enhance the efficiency of the public sector and improve its service of the general public. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
