/* * EncFS Java Library * Copyright (C) 2013 encfs-java authors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. */ package org.mrpdaemon.sec.encfs; /** * Class implementing the NULL encryption strategy. */ public class NullFilenameEncryptionStrategy extends FilenameEncryptionStrategy { public NullFilenameEncryptionStrategy(EncFSVolume volume, String volumePath) { super(volume, volumePath, EncFSFilenameEncryptionAlgorithm.NULL); } @Override protected String encryptImpl(String fileName) { return fileName; } }