8067088: Suppress solaris-specific deprecation warnings in the jdk.crypto.ucrypto module

Reviewed-by: valeriep
This commit is contained in:
Joe Darcy 2014-12-16 11:49:37 -08:00
parent 41844a4b8c
commit e9e0b591dc

View File

@ -178,6 +178,7 @@ public class NativeRSACipher extends CipherSpi {
// see JCE spec
@Override
@SuppressWarnings("deprecation")
protected synchronized void engineInit(int opmode, Key newKey,
AlgorithmParameterSpec params, SecureRandom random)
throws InvalidKeyException, InvalidAlgorithmParameterException {
@ -331,6 +332,7 @@ public class NativeRSACipher extends CipherSpi {
// see JCE spec
@Override
@SuppressWarnings("deprecation")
protected synchronized Key engineUnwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm, int wrappedKeyType)
throws InvalidKeyException, NoSuchAlgorithmException {