jdk/src/java.base/share/classes/java/security/KeyPairGenerator.java
changeset 45435 7a91c865edd4
parent 45434 4582657c7260
child 45665 6f21cd7ec80e
equal deleted inserted replaced
45434:4582657c7260 45435:7a91c865edd4
    93  * </ul>
    93  * </ul>
    94  *
    94  *
    95  * <p>In case the client does not explicitly initialize the KeyPairGenerator
    95  * <p>In case the client does not explicitly initialize the KeyPairGenerator
    96  * (via a call to an {@code initialize} method), each provider must
    96  * (via a call to an {@code initialize} method), each provider must
    97  * supply (and document) a default initialization.
    97  * supply (and document) a default initialization.
    98  * For example, the <i>Sun</i> provider uses a default modulus size (keysize)
    98  * See the Keysize Restriction sections of the
    99  * of 1024 bits for DSA key pairs.
    99  * <a href="{@docRoot}/../technotes/guides/security/SunProviders.html">
       
   100  * JDK Providers</a>
       
   101  * document for information on the KeyPairGenerator defaults used by
       
   102  * JDK providers.
       
   103  * However, note that defaults may vary across different providers.
       
   104  * Additionally, the default value for a provider may change in a future
       
   105  * version. Therefore, it is recommended to explicitly initialize the
       
   106  * KeyPairGenerator instead of relying on provider-specific defaults.
   100  *
   107  *
   101  * <p>Note that this class is abstract and extends from
   108  * <p>Note that this class is abstract and extends from
   102  * {@code KeyPairGeneratorSpi} for historical reasons.
   109  * {@code KeyPairGeneratorSpi} for historical reasons.
   103  * Application developers should only take notice of the methods defined in
   110  * Application developers should only take notice of the methods defined in
   104  * this {@code KeyPairGenerator} class; all the methods in
   111  * this {@code KeyPairGenerator} class; all the methods in