Class AbstractCipherTransmissionDecorator<DECORATEE extends Transmission>

    • Field Detail

      • _cipher

        protected Cipher _cipher
    • Constructor Detail

      • AbstractCipherTransmissionDecorator

        public AbstractCipherTransmissionDecorator​(DECORATEE aDecoratee,
                                                   Cipher aCipher)
        Constructs a Cipher transmission decorator applying bijective and inverse functions upon the delegated methods.
        Parameters:
        aDecoratee - The decorator having applied the Cipher's BijectiveFunction to encode and the Cipher's InverseFunction to decode any data being delegated.
        aCipher - The Cipher providing the BijectiveFunction to encode and the Cipher's InverseFunction to decode any data being delegated.