org.cumulus4j.crypto.internal.asymmetric.keypairgenerator
Class AbstractAsymmetricCipherKeyPairGeneratorFactory
java.lang.Object
   org.cumulus4j.crypto.internal.asymmetric.keypairgenerator.AbstractAsymmetricCipherKeyPairGeneratorFactory
org.cumulus4j.crypto.internal.asymmetric.keypairgenerator.AbstractAsymmetricCipherKeyPairGeneratorFactory
- All Implemented Interfaces: 
- AsymmetricCipherKeyPairGeneratorFactory
- Direct Known Subclasses: 
- DHBasicKeyPairGeneratorFactory, DSAKeyPairGeneratorFactory, ElGamalKeyPairGeneratorFactory, GOST3410KeyPairGeneratorFactory, NaccacheSternKeyPairGeneratorFactory, RSAKeyPairGeneratorFactory
- public abstract class AbstractAsymmetricCipherKeyPairGeneratorFactory 
- extends Object- implements AsymmetricCipherKeyPairGeneratorFactory
- Author:
- Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
 
| Method Summary | 
|  String | getAlgorithmName()Get the name of the encryption algorithm for which keys should be generated.
 | 
|  void | setAlgorithmName(String algorithmName)Set the name of the encryption algorithm for which keys are to be generated.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
AbstractAsymmetricCipherKeyPairGeneratorFactory
public AbstractAsymmetricCipherKeyPairGeneratorFactory()
getAlgorithmName
public String getAlgorithmName()
- Description copied from interface: AsymmetricCipherKeyPairGeneratorFactory
- Get the name of the encryption algorithm for which keys should be generated. For example "RSA".
 See Supported algorithms
 for a list of supported algorithms.
 
- 
- Specified by:
- getAlgorithmNamein interface- AsymmetricCipherKeyPairGeneratorFactory
 
- 
- Returns:
- the name of the encryption algorithm for which keys are to be generated.
 
setAlgorithmName
public void setAlgorithmName(String algorithmName)
- Description copied from interface: AsymmetricCipherKeyPairGeneratorFactory
- Set the name of the encryption algorithm for which keys are to be generated. This method
 should never be called by API consumers! It should throw an IllegalStateException, if
 it is called again, after an algorithm name was already set before.
 
- 
- Specified by:
- setAlgorithmNamein interface- AsymmetricCipherKeyPairGeneratorFactory
 
- 
- Parameters:
- algorithmName- the name of the encryption algorithm; never- null.
- See Also:
- AsymmetricCipherKeyPairGeneratorFactory.getAlgorithmName()
 
Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.