EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error SB_CRL_ERROR_INVALID_FORMAT when load CRL from buffer

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 (Team)

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

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


Back to top

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

Got it!