By default, reading plaintext (unencrypted) files is not allowed when using a decryptor - in order to detect files that were not encrypted by mistake. However, the default behavior can be overridden by calling this method. The caller should use then a different method to ensure encryption of files with sensitive data.
| 270 | /// The caller should use then a different method to ensure encryption |
| 271 | /// of files with sensitive data. |
| 272 | Builder* plaintext_files_allowed() { |
| 273 | plaintext_files_allowed_ = true; |
| 274 | return this; |
| 275 | } |
| 276 | |
| 277 | std::shared_ptr<FileDecryptionProperties> build() { |
| 278 | return std::shared_ptr<FileDecryptionProperties>(new FileDecryptionProperties( |
nothing calls this directly
no outgoing calls
no test coverage detected