Class WriteToFileMultiPassStrategy

java.lang.Object
org.pgpainless.decryption_verification.cleartext_signatures.WriteToFileMultiPassStrategy
All Implemented Interfaces:
MultiPassStrategy

public class WriteToFileMultiPassStrategy extends Object implements MultiPassStrategy
Implementation of the MultiPassStrategy. When processing signed data the first time, the data is being written out into a file. For the second pass, that file is being read again. This strategy is recommended when larger amounts of data need to be processed. For smaller files, InMemoryMultiPassStrategy yields higher efficiency.