Module io.github.mmm.crypto
Class AsymmetricCryptorFactoryImpl<PR extends PrivateKey,PU extends PublicKey>
- java.lang.Object
-
- io.github.mmm.crypto.algorithm.AbstractSecurityAlgorithm
-
- io.github.mmm.crypto.algorithm.AbstractCryptoAlgorithmWithProvider
-
- io.github.mmm.crypto.algorithm.AbstractCryptoAlgorithmWithRandom
-
- io.github.mmm.crypto.crypt.CryptorFactoryImpl
-
- io.github.mmm.crypto.asymmetric.crypt.AsymmetricCryptorFactoryImpl<PR,PU>
-
- Type Parameters:
PR- type ofPrivateKey.PU- type ofPublicKey.
- All Implemented Interfaces:
AbstractCryptoFactory,CryptoAlgorithm,AsymmetricCryptorFactory<PR,PU>,CryptorFactory
public class AsymmetricCryptorFactoryImpl<PR extends PrivateKey,PU extends PublicKey> extends CryptorFactoryImpl implements AsymmetricCryptorFactory<PR,PU>
Implementation ofAsymmetricCryptorFactory.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class io.github.mmm.crypto.algorithm.AbstractCryptoAlgorithmWithProvider
provider
-
-
Constructor Summary
Constructors Constructor Description AsymmetricCryptorFactoryImpl(AsymmetricCryptorConfig<PR,PU> config, RandomFactory randomFactory)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsymmetricCryptorConfig<PR,PU>getConfig()-
Methods inherited from class io.github.mmm.crypto.crypt.CryptorFactoryImpl
getAlgorithm, newDecryptorUnsafe, newEncryptorUnsafe
-
Methods inherited from class io.github.mmm.crypto.algorithm.AbstractCryptoAlgorithmWithRandom
createSecureRandom, getRandomFactory
-
Methods inherited from class io.github.mmm.crypto.algorithm.AbstractCryptoAlgorithmWithProvider
getProvider
-
Methods inherited from class io.github.mmm.crypto.algorithm.AbstractSecurityAlgorithm
creationFailedException, creationFailedException, creationFailedException, creationFailedException, getAlgorithm, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.mmm.crypto.asymmetric.crypt.AsymmetricCryptorFactory
newDecryptor, newEncryptor
-
Methods inherited from interface io.github.mmm.crypto.crypt.CryptorFactory
newDecryptorUnsafe, newEncryptorUnsafe
-
-
-
-
Constructor Detail
-
AsymmetricCryptorFactoryImpl
public AsymmetricCryptorFactoryImpl(AsymmetricCryptorConfig<PR,PU> config, RandomFactory randomFactory)
The constructor.- Parameters:
config- theAsymmetricCryptorConfig.randomFactory- theRandomFactory.
-
-
Method Detail
-
getConfig
public AsymmetricCryptorConfig<PR,PU> getConfig()
- Specified by:
getConfigin classCryptorFactoryImpl- Returns:
- the
CryptorConfig.
-
-