EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How do you get the original file name in PGP

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

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

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

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.

Reply

Statistics

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