Package org.xwiki.crypto
Interface KeyParametersGenerator
-
@Role public interface KeyParametersGenerator
Generate parameters for key generation.- Since:
- 5.4M1
- Version:
- $Id: 47176f2ee5faba3a231299b426f36eb1454bd32d $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyGenerationParameters
generate()
KeyGenerationParameters
generate(KeyParametersGenerationParameters params)
Generate a new key pair based on given parameters.
-
-
-
Method Detail
-
generate
KeyGenerationParameters generate()
- Returns:
- a new key pair based on default parameters.
-
generate
KeyGenerationParameters generate(KeyParametersGenerationParameters params)
Generate a new key pair based on given parameters.- Parameters:
params
- the key generation parameters.- Returns:
- a new key pair based the given parameters.
-
-