AlgorithmParameterGenerator
class, which is used to generate a set of parameters to be used with a certain algorithm. All the abstract methods in this class must be implemented by each cryptographic service provider who wishes to supply the implementation of a parameter generator for a particular algorithm.
In case the client does not explicitly initialize the AlgorithmParameterGenerator (via a call to an engineInit
method), each provider must supply (and document) a default initialization. See the Keysize Restriction sections of the Moved out of a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase20&id=security_guide_jdk_providers.Moved to a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase21&id=security_guide_jdk_providers.JDK ProvidersMoved out of a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase20&id=security_guide_jdk_providers.Moved to a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase21&id=security_guide_jdk_providers. document for information on the AlgorithmParameterGenerator defaults used by JDK providers. However, note that defaults may vary across different providers. Additionally, the default value for a provider may change in a future version. Therefore, it is recommended to explicitly initialize the AlgorithmParameterGenerator
instead of relying on provider-specific defaults.
- Since:
- 1.2
- See Also:
Constructors
- ✓public AlgorithmParameterGeneratorSpi()
Methods
- ✓protected abstract java.security.AlgorithmParameters engineGenerateParameters()
- ✓protected abstract void engineInit(int arg0, java.security.SecureRandom arg1)
- ✓protected abstract void engineInit(java.security.spec.AlgorithmParameterSpec arg0, java.security.SecureRandom arg1) throws java.security.InvalidAlgorithmParameterException
Summary
| Elements | Comments | Descriptions | Total | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed | ||
| AlgorithmParameterGeneratorSpi | 2 | 2 | ||||||||
| Total | 2 | 2 | ||||||||