Log SMIME Stream

I’m trying to log the SMIME contentStream before calling the createMiMeData,decrypt,verify…

I’m using wm.TN.mime services (wich is not compatible with pub.mime services)

Each time i convert the stream to String, i’m not able to re-create the stream to past-it to other services…

I know also that pub.mime and tn.mime are not compatible but why? is there any pros and cons to use one or the others?