java.lang.Object | |
↳ | sun.security.provider.ParameterCache |
Cache for DSA and DH parameter specs. Used by the KeyPairGenerators in the Sun, SunJCE, and SunPKCS11 provider if no parameters have been explicitly specified by the application.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return cached DH parameters for the given keylength, or null if none
are available in the cache.
| |||||||||||
Return cached DSA parameters for the given keylength, or null if none
are available in the cache.
| |||||||||||
Return DH parameters for the given keylength.
| |||||||||||
Return DSA parameters for the given keylength.
| |||||||||||
Return new DSA parameters for the given keylength.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Return cached DH parameters for the given keylength, or null if none are available in the cache.
Return cached DSA parameters for the given keylength, or null if none are available in the cache.
Return DH parameters for the given keylength. Uses cache if possible, generates new parameters and adds them to the cache otherwise.
Return DSA parameters for the given keylength. Uses cache if possible, generates new parameters and adds them to the cache otherwise.
Return new DSA parameters for the given keylength. Do not lookup in cache and do not cache the newly generated parameters. This method really only exists for the legacy method DSAKeyPairGenerator.initialize(int, boolean, SecureRandom).