Re: CoSign LARGE files WITHOUT large memory requirements

From: Alon Bar-Lev (alon_at_xor-t.com)
Date: 03/22/05


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
>>
>>
>>
>>
>>
>
>



Relevant Pages

  • Re: Encoding -> Streaming <- Seeking
    ... streams. ... The Orb software runs on my system to encode the file on demand to Windows Media. ... and the end client can seek to any point in the stream. ... This is encoded in real-time by my system and streamed through the Orb Server. ...
    (microsoft.public.windowsmedia.server)
  • Re: encoding several live streams simultaneously
    ... > if it is possible with WME to encode from the same source several streams ... > you go if you are also required to deliver both wmv and realvideo streams? ... I think using more than one capture card is probably best for this, ... 100 for example has 3 composite inputs, ...
    (microsoft.public.windowsmedia.encoder)
  • Re: adding stream to ASF file
    ... independent stream which you want to merge in. ... streams out of the asf file. ... it) will either encode all streams or none. ...
    (microsoft.public.win32.programmer.directx.video)
  • encoding several live streams simultaneously
    ... In the view of a first live video streaming experience, ... if it is possible with WME to encode from the same source several streams ... you go if you are also required to deliver both wmv and realvideo streams? ...
    (microsoft.public.windowsmedia.encoder)
  • Re: I/O streaming with custom data transport
    ... Ada streams are streams of Stream_Elements ... and the 'Read/'Write attributes encode things in ... But the original question was about streams of characters, ... Then you can make derived types for sending to a file, ...
    (comp.lang.ada)