
net.sf.mmm.crypto.key.KeyCreatorFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mmm-crypto-jce Show documentation
Show all versions of mmm-crypto-jce Show documentation
Library for simple and more secure usage of cryptography (JCA and JCE).
The newest version!
package net.sf.mmm.crypto.key;
import net.sf.mmm.crypto.AbstractCryptoFactory;
/**
* Interface for a {@link AbstractCryptoFactory factory} to {@link #newKeyCreator() create} instances of
* {@link KeyCreator} for asymmetric cryptographic keys.
* An instance of {@link KeyCreatorFactory} therefore represents a configuration with specific {@link java.security.Key}
* {@link java.security.Key#getAlgorithm() algorithm} and {@link java.security.Key#getFormat() format}(s).
*
* @author Joerg Hohwiller (hohwille at users.sourceforge.net)
* @since 1.0.0
*/
public interface KeyCreatorFactory {
/**
* @return a new instance of {@link KeyCreator}. May be reused but is not guaranteed to be thread-safe.
*/
KeyCreator newKeyCreator();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy