Class RFC3394WrapEngine

    • Constructor Detail

      • RFC3394WrapEngine

        public RFC3394WrapEngine​(BlockCipher engine)
        Create a RFC 3394 WrapEngine specifying the encrypt for wrapping, decrypt for unwrapping.
        Parameters:
        engine - the block cipher to be used for wrapping.
      • RFC3394WrapEngine

        public RFC3394WrapEngine​(BlockCipher engine,
                                 boolean useReverseDirection)
        Create a RFC 3394 WrapEngine specifying the direction for wrapping and unwrapping..
        Parameters:
        engine - the block cipher to be used for wrapping.
        useReverseDirection - true if engine should be used in decryption mode for wrapping, false otherwise.