
global.namespace.truelicense.api.crypto.EncryptionParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truelicense-api Show documentation
Show all versions of truelicense-api Show documentation
The TrueLicense API module provides an Application Programming
Interface for license management on the Java Virtual Machine.
/*
* Copyright (C) 2005 - 2019 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package global.namespace.truelicense.api.crypto;
import global.namespace.truelicense.api.passwd.PasswordProtection;
/**
* Defines parameters for a password based encryption.
*
* Unless stated otherwise, all no-argument methods need to return consistent
* objects so that caching them is not required.
* A returned object is considered to be consistent if it compares
* {@linkplain Object#equals(Object) equal} or at least behaves identical to
* any previously returned object.
*/
public interface EncryptionParameters {
/** Returns the name of the password based encryption algorithm. */
String algorithm();
/** Returns a password protection for generating the secret key for encryption/decryption. */
PasswordProtection protection();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy