EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How do you get the original file name in PGP

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#948
Posted: 08/03/2006 13:55:15
by Laurent Guy (Priority Standard support level)
Joined: 08/03/2006
Posts: 10

How do you get the original file name from the PGP-encrypted file?
#949
Posted: 08/03/2006 14:27:00
by Eugene Mayevski (EldoS Corp.)

Since the PGP file can contain many files, there's no easy way to enumerate them. You can use OnCreateOutputStream event and it's Filename parameter to find out the original file name.


Sincerely yours
Eugene Mayevski
#950
Posted: 08/03/2006 14:33:19
by Laurent Guy (Priority Standard support level)
Joined: 08/03/2006
Posts: 10

The OnCreateOutputStream event does not get triggered. The only way so far I've found to set the output file name is via the OutputFile property. What am I doing wrong?
#953
Posted: 08/03/2006 22:22:03
by Ken Ivanov (EldoS Corp.)

The output filename can be specified in following ways:
a) using OnCreateOutputStream event (in case if DecryptAndVerify() method is used),
b) using OnCreateOutputFile event (if DecryptAndVerifyFile() is used),
c) specifying the OutputStream property (for DecryptAndVerify()),
d) specifying the OutputFile property (for DecryptAndVerifyFile()).
#954
Posted: 08/03/2006 22:22:50
by Ken Ivanov (EldoS Corp.)

Quote
The OnCreateOutputStream event does not get triggered. The only way so far I've found to set the output file name is via the OutputFile property.

I assume that you use DecryptAndVerifyFile() method. OnCreateOutputStream is not fired in this case.
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.

Reply

Statistics

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