Package sop.external
Interface ExternalSOP.TempDirProvider
-
- Enclosing class:
- ExternalSOP
public static interface ExternalSOP.TempDirProviderThis interface can be used to provide a directory in which external SOP binaries can temporarily store additional results of OpenPGP operations such that the binding classes can parse them out from there. Unfortunately, on Java you cannot openFileDescriptorsarbitrarily, so we have to rely on temporary files to pass results. An example:sop decrypt
can emit signature verifications via--verify-out=/path/to/tempfile
.DecryptExternalwill then parse the temp file to make the result available to consumers. Temporary files are deleted after being read, yet creating temp files for sensitive information on disk might pose a security risk. Use with care!
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.FileprovideTempDirectory()
-