You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a S/MIME implementation that reads the input mime stream only once and writes the result to an output stream.
(no temp files, just reading from the input stream and writing to the output stream)
Make it resumable, i.e. it can be stopped, it keeps the (serializeable) state (symmetric session key, nonces/salts, ...) - later it can restart at any offset and the pieces of the output stream when combined (and no gaps) make a valid smime encrypted message
(just for reference: your sha256 appears to fulfil 1 and 2)
the same for s/mime signatures
what would it cost if the bouncycastle core team were to implement this (say 1 + 2)?