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: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
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.
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?
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.
Posted: 07/24/2009 08:36:37
by Igor Igor (Basic support level)
Joined: 07/23/2009
Posts: 5

With last version All Ok.




Topic viewed 801 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!