EldoS | Feel safer!

Software components for data protection, secure storage and transfer

ActiveX DLL

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
#428
Posted: 06/12/2006 09:23:07
by Charles Poston (Standard support level)
Joined: 06/12/2006
Posts: 15

Just installed the new ActiveX SecureBlackBox. See the example with the UI and the controls. Want to write and ActiveX DLL with no UI. Found the pgpbbox.dll. Can this be used to write an ActiveX DLL and if so what must be distributed? Also, can someone provide example code of how to provide a stream object to Encrypt(). What is a stream object for the ActiveX product using VB6?
#429
Posted: 06/12/2006 09:52:25
by Ken Ivanov (EldoS Corp.)

Quote
Can this be used to write an ActiveX DLL and if so what must be distributed?

If you wish to use PGPBlackbox functionality only, you have to distribute BaseBBox.dll and PGPBBox.dll libraries. You also need to distribute PKIBBox.dll if you need support for PGP keys based on X.509 certificates.

Quote
What is a stream object for the ActiveX product using VB6?

VB6 does not contain any built-in objects supporting IStream interface. However, you can find a lot of auxiliary components over the Web that provide a possibility to access IStream from VB.
#430
Posted: 06/12/2006 10:03:21
by Ken Ivanov (EldoS Corp.)

Besides, with VB6 you can use alternative methods which work with files (not with IStreams), such as ElPGPWriterX.EncryptFile().
#438
Posted: 06/13/2006 10:53:53
by Charles Poston (Standard support level)
Joined: 06/12/2006
Posts: 15

Here's a minimal VB6 memory-based IStream implementation for anyone who is interested. If:
Set ins = New MemoryStream
then
ins.Stream
can be passed as the required IStream parameter.

The character conversion necessary to wire this up with pgp black box I found on Michael Kaplan's excellent site: http://www.trigeminal.com.


[ Download ]

Reply

Statistics

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