jdk/src/windows/classes/sun/security/mscapi/RSASignature.java
changeset 10336 0bb1999251f8
parent 9533 13cc5e8eb9f1
child 11521 d7698e6c5f51
equal deleted inserted replaced
10335:3c7eda3ab2f5 10336:0bb1999251f8
    28 import java.nio.ByteBuffer;
    28 import java.nio.ByteBuffer;
    29 import java.security.PublicKey;
    29 import java.security.PublicKey;
    30 import java.security.PrivateKey;
    30 import java.security.PrivateKey;
    31 import java.security.InvalidKeyException;
    31 import java.security.InvalidKeyException;
    32 import java.security.InvalidParameterException;
    32 import java.security.InvalidParameterException;
    33 import java.security.InvalidAlgorithmParameterException;
       
    34 import java.security.KeyStoreException;
    33 import java.security.KeyStoreException;
    35 import java.security.NoSuchAlgorithmException;
    34 import java.security.NoSuchAlgorithmException;
    36 import java.security.ProviderException;
    35 import java.security.ProviderException;
    37 import java.security.MessageDigest;
    36 import java.security.MessageDigest;
    38 import java.security.SecureRandom;
       
    39 import java.security.Signature;
       
    40 import java.security.SignatureSpi;
       
    41 import java.security.SignatureException;
    37 import java.security.SignatureException;
    42 import java.math.BigInteger;
    38 import java.math.BigInteger;
    43 
    39 
    44 import sun.security.rsa.RSAKeyFactory;
    40 import sun.security.rsa.RSAKeyFactory;
    45 
    41 
   472      *
   468      *
   473      * @deprecated Replaced by {@link
   469      * @deprecated Replaced by {@link
   474      * #engineSetParameter(java.security.spec.AlgorithmParameterSpec)
   470      * #engineSetParameter(java.security.spec.AlgorithmParameterSpec)
   475      * engineSetParameter}.
   471      * engineSetParameter}.
   476      */
   472      */
       
   473     @Deprecated
   477     protected void engineSetParameter(String param, Object value)
   474     protected void engineSetParameter(String param, Object value)
   478         throws InvalidParameterException
   475         throws InvalidParameterException
   479     {
   476     {
   480         throw new InvalidParameterException("Parameter not supported");
   477         throw new InvalidParameterException("Parameter not supported");
   481     }
   478     }
   501      * invalid parameter for this engine, or another exception occurs while
   498      * invalid parameter for this engine, or another exception occurs while
   502      * trying to get this parameter.
   499      * trying to get this parameter.
   503      *
   500      *
   504      * @deprecated
   501      * @deprecated
   505      */
   502      */
       
   503     @Deprecated
   506     protected Object engineGetParameter(String param)
   504     protected Object engineGetParameter(String param)
   507         throws InvalidParameterException
   505         throws InvalidParameterException
   508     {
   506     {
   509         throw new InvalidParameterException("Parameter not supported");
   507         throw new InvalidParameterException("Parameter not supported");
   510     }
   508     }