Re: CoSign LARGE files WITHOUT large memory requirements
From: Alon Bar-Lev (alon_at_xor-t.com)
Date: 03/22/05
- Next message: Wan-Teh Chang: "CryptAcquireContext fails with ERROR_INVALID_PARAMETER (87) after my CPAcquireContext succeeds"
- Previous message: Doug Barlow: "Re: How to check a listed smartcard reader to be online"
- In reply to: Kelvin Yiu [MS]: "Re: CoSign LARGE files WITHOUT large memory requirements"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 22 Mar 2005 21:23:29 +0200
Thank you,
The API introduced streams in order to solve Encode and Decode PKCS#7...
This was a good thinking.
Can you please consider adding an option to use streams in order to Encode
detached message into an attached message? (Just a thought... it will solve
this issue and provide a complete solution)
Thanks,
Alon Bar-Lev.
"Kelvin Yiu [MS]" <kelviny@online.microsoft.com> wrote in message
news:%23XbXQGxLFHA.2980@TK2MSFTNGP10.phx.gbl...
> This is not supported. You will have to load the entire message into
> memory.
>
> --
>
> Kelvin Yiu [MSFT]
> This posting is provided "AS IS" with no warranties and confers no rights.
> "Alon Bar-Lev" <alon@xor-t.com> wrote in message
> news:e9Icc6wLFHA.2748@TK2MSFTNGP09.phx.gbl...
>> Hello,
>>
>> My mission is to cosign a large attached signature without allocated
>> memory
>> at the size of the content.
>>
>> I am trying to cosign a large PKCS#7 file, I use CryptOpenMsgToDecode and
>> streams in order to do so.
>> After cosigning, I use CryptMsgGetParam with CMSG_ENCODED_MESSAGE I get a
>> detached signature.
>> Now I need to take the original data and the detached signature and
>> combain
>> them into one attached PKCS#7 file.
>>
>> I couldn't figure out how to use CryptMsgOpenToEncode or any other
>> relevant
>> CryptMsg API in order to do that.
>>
>> Can anyone help?
>>
>> Best Regards,
>> Alon Bar-Lev
>>
>>
>>
>>
>>
>
>
- Next message: Wan-Teh Chang: "CryptAcquireContext fails with ERROR_INVALID_PARAMETER (87) after my CPAcquireContext succeeds"
- Previous message: Doug Barlow: "Re: How to check a listed smartcard reader to be online"
- In reply to: Kelvin Yiu [MS]: "Re: CoSign LARGE files WITHOUT large memory requirements"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|