|
Cumulus4j API (1.0.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsymmetricCipherKeyPairGeneratorFactory
Factory creating instances of AsymmetricCipherKeyPairGenerator
.
Implementations of this interface are used by CryptoRegistry.createKeyPairGenerator(String, boolean)
to provide instances of AsymmetricCipherKeyPairGenerator
.
Method Summary | |
---|---|
AsymmetricCipherKeyPairGenerator |
createAsymmetricCipherKeyPairGenerator(boolean initWithDefaults)
Create and optionally initialise a new instance of AsymmetricCipherKeyPairGenerator . |
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. |
Method Detail |
---|
AsymmetricCipherKeyPairGenerator createAsymmetricCipherKeyPairGenerator(boolean initWithDefaults)
AsymmetricCipherKeyPairGenerator
.
initWithDefaults
- whether to
initialise
the AsymmetricCipherKeyPairGenerator
with default values
so that it can be used immediately as-is.
AsymmetricCipherKeyPairGenerator
(iff initWithDefaults==true
ready-to-use;
otherwise requiring initialisation
before it can be used).String getAlgorithmName()
void setAlgorithmName(String algorithmName)
IllegalStateException
, if
it is called again, after an algorithm name was already set before.
algorithmName
- the name of the encryption algorithm; never null
.getAlgorithmName()
|
Cumulus4j API (1.0.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |