EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error SB_CRL_ERROR_INVALID_FORMAT when load CRL from buffer

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#10637
Posted: 07/23/2009 09:59:50
by Igor Igor (Basic support level)
Joined: 07/23/2009
Posts: 5

Good day.
Please, help me.

I load CRL into class TElCertificateRevocationList and get an error: ERROR_INVALID_FORMAT.
Code
TElCertificateRevocationList crList = new TElCertificateRevocationList();
...
byte[] content = WebCli.DownloadData("http://ca.skbkontur.ru/cdp/kontur-msk-2007.crl");
int ret_code = crList.LoadFromBuffer(content);


Please, expline me, why?
Thanks.
#10638
Posted: 07/23/2009 10:45:57
by Ken Ivanov (EldoS Corp.)

The CRL available at the specified location is loaded correctly for us. I can only assume that WebCli.DownloadData somehow corrupts the data of the CRL during download.

Just in case, the size of the CRL file is 268620 bytes.
#10653
Posted: 07/24/2009 08:36:37
by Igor Igor (Basic support level)
Joined: 07/23/2009
Posts: 5

With last version All Ok.

Thanks.

Reply

Statistics

Topic viewed 809 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!