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 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 - The Encryptor that is handling the encryption request
        meta - The input plaintext FileMetadata - might be empty (but not null).
        manipulator - The manipulator that can be used to update the headers