Title: Message
If I want to read in multiple files into a single source and then RSA sign the buffer as a whole is the following method the best way to do it:
 
Pseudo code:
 
StringSource somevar
UINT uiIndex = 0;
 
for each file in list
{
  filesourcevar.copyRangeTo(somevar, uiIndex, filessourcevar.MaxRetrievable)
  uiIndex += filesourcevar.MaxRetrievable
}
 
 
RSASign somevar
 
 
 
Is their a slicker way of reading in multiple files into a single buffered transformation and then signing the byte stream?
 
 
Thanks,
 
Chris
 

Reply via email to