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.
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
Modifier and TypeMethodDescriptionvoid
prepareAsciiArmoredHeaders
(Encryptor encryptor, FileMetadata meta, EncryptedAsciiArmorHeadersManipulator manipulator) Invoked by the encryptor after updating the settings with the configured global headers.
-
Method Details
-
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
-