EldoS | Feel safer!

Software components for data protection, secure storage and transfer

LoadFromBufferPFX not working under Delphi 2009 unicode

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
Posted: 06/24/2009 21:09:58
by Allen Drennan (Standard support level)
Joined: 05/29/2007
Posts: 11

We have just finished converting our very large Delphi video conferencing application to Unicode under Delphi 2009 (http://www.nefsis.com). Everything seems to be working, except for issues with SBB. We are running the latest version of SBB.

TElX509Certificate.LoadFromBufferPFX returns SB_PKCS12_ERROR_INVALID_ASN_DATA

The buffer is exactly the as the Delphi 2007 version, and the password is a exactly the same. Even if the password is a constant, it still fails. I will trace further but it fails somewhere in TElASN1Parser.DecodeField.

Unrelated : I am the author of SSL_SBB.pas for Synapse + SBB, and have an updated version that also supports D2009 for you guys as well.
Posted: 06/25/2009 00:01:56
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

Does this issue occur with some particular certificate or with any certificate (please try to load the cert.pfx one, which is included to the distribution)?
Posted: 06/25/2009 09:52:54
by Allen Drennan (Standard support level)
Joined: 05/29/2007
Posts: 11

After further review this turned out to be a flaw in our code, not yours. Sorry for the mis-report.



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