src/java.base/share/classes/javax/crypto/ProviderVerifier.java

Print this page

        

@@ -155,10 +155,18 @@
     static void verifyPolicySigned(java.security.cert.Certificate[] certs)
             throws Exception {
     }
 
     /**
+     * Returns true if the given provider is JDK trusted crypto provider
+     * if the implementation supports fast-path verification.
+     */
+    static boolean isTrustedCryptoProvider(Provider provider) {
+        return false;
+    }
+
+    /**
      * Returns the permissions which are bundled with the JAR file,
      * aka the "cryptoperms" file.
      *
      * NOTE: if this ProviderVerifier instance is constructed with "savePerms"
      * equal to false, then this method would always return null.