< prev index next >

src/java.base/share/classes/com/sun/crypto/provider/TlsPrfGenerator.java

Print this page

        

@@ -110,19 +110,21 @@
     // PRF implementation
 
     private final static String MSG = "TlsPrfGenerator must be "
         + "initialized using a TlsPrfParameterSpec";
 
+    @SuppressWarnings("deprecation")
     private TlsPrfParameterSpec spec;
 
     public TlsPrfGenerator() {
     }
 
     protected void engineInit(SecureRandom random) {
         throw new InvalidParameterException(MSG);
     }
 
+    @SuppressWarnings("deprecation")
     protected void engineInit(AlgorithmParameterSpec params,
             SecureRandom random) throws InvalidAlgorithmParameterException {
         if (params instanceof TlsPrfParameterSpec == false) {
             throw new InvalidAlgorithmParameterException(MSG);
         }
< prev index next >