Package org.c02e.jpgpj
Interface EncryptedAsciiArmorHeadersCallback
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface EncryptedAsciiArmorHeadersCallback
Used by the encryptor to allow users to configure per-file armored headers instead/in addition to the global ones that are set by the encryptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
prepareAsciiArmoredHeaders(Encryptor encryptor, FileMetadata meta, EncryptedAsciiArmorHeadersManipulator manipulator)
Invoked by the encryptor after updating the settings with the configured global headers.
-
-
-
Method Detail
-
prepareAsciiArmoredHeaders
void prepareAsciiArmoredHeaders(Encryptor encryptor, FileMetadata meta, EncryptedAsciiArmorHeadersManipulator manipulator)
Invoked by the encryptor after updating the settings with the configured global headers.- Parameters:
encryptor
- TheEncryptor
that is handling the encryption requestmeta
- The input plaintextFileMetadata
- might be empty (but notnull
).manipulator
- The manipulator that can be used to update the headers
-
-