HI All I'm playing with EncryptMessage/DecryptMessage/MakeSignature/ VerifySignature functions on SSPI/Kerberos. There seems quite a lot of combination to arrange the SecBufferDest argument. Is there a way to make sure that the input data (includes data and signature) are never changed in-place? Thanks Speedo
On Jul 7, 2:48 am, Speedo wrote: > HI All > > I'm playing with EncryptMessage/DecryptMessage/MakeSignature/ > VerifySignature functions on SSPI/Kerberos. There seems quite a lot of > combination to arrange the SecBufferDest argument. Is there a way to > make sure that the input data (includes data and signature) are never > changed in-place? > > Thanks > Speedo Nope, I don't think so. If it's important to preserve the encrypted bytes just make a copy and either perform the decrypt on the copied bytes or the original but save the copy. HTH, Dave