8067088: Suppress solaris-specific deprecation warnings in the jdk.crypto.ucrypto module
Reviewed-by: valeriep
This commit is contained in:
parent
41844a4b8c
commit
e9e0b591dc
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user