< prev index next >

src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/NativeRSACipher.java

Print this page

        

*** 176,185 **** --- 176,186 ---- } } // see JCE spec @Override + @SuppressWarnings("deprecation") protected synchronized void engineInit(int opmode, Key newKey, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { if (newKey == null) { throw new InvalidKeyException("Key cannot be null");
*** 329,338 **** --- 330,340 ---- } } // see JCE spec @Override + @SuppressWarnings("deprecation") protected synchronized Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) throws InvalidKeyException, NoSuchAlgorithmException { if (wrappedKey.length > buffer.length) {
< prev index next >