All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rs.baselib.security.IPasswordCallback Maven / Gradle / Ivy

The newest version!
/*
 * This file is part of RS Library (Base Library).
 *
 *  RS Library is free software: you can redistribute it 
 *  and/or modify it under the terms of version 3 of the GNU 
 *  Lesser General Public  License as published by the Free Software 
 *  Foundation.
 *  
 *  RS Library 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.
 *
 *  You should have received a copy of the GNU Lesser General Public 
 *  License along with RS Library.  If not, see 
 *  .
 */
package rs.baselib.security;

/**
 * A callback that will deliver passwords.
 * @author ralph
 *
 */
public interface IPasswordCallback {

	/**
	 * Delivers the password.
	 * @return the password
	 */
	public char[] getPassword();

	/**
	 * Delivers the salt for encryption.
	 * @return the salt
	 */
	public byte[] getSalt();
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy