src/java.base/share/classes/java/security/Signature.java
changeset 53972 43c2ab1bdfd3
parent 53018 8bf9268df0e2
child 54483 ac20c3bdc55d
equal deleted inserted replaced
53971:1019c97e1bde 53972:43c2ab1bdfd3
     1 /*
     1 /*
     2  * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   283         signatureInfo.put("sun.security.rsa.RSASignature$SHA1withRSA", TRUE);
   283         signatureInfo.put("sun.security.rsa.RSASignature$SHA1withRSA", TRUE);
   284         signatureInfo.put("sun.security.rsa.RSASignature$SHA256withRSA", TRUE);
   284         signatureInfo.put("sun.security.rsa.RSASignature$SHA256withRSA", TRUE);
   285         signatureInfo.put("sun.security.rsa.RSASignature$SHA384withRSA", TRUE);
   285         signatureInfo.put("sun.security.rsa.RSASignature$SHA384withRSA", TRUE);
   286         signatureInfo.put("sun.security.rsa.RSASignature$SHA512withRSA", TRUE);
   286         signatureInfo.put("sun.security.rsa.RSASignature$SHA512withRSA", TRUE);
   287         signatureInfo.put("sun.security.rsa.RSAPSSSignature", TRUE);
   287         signatureInfo.put("sun.security.rsa.RSAPSSSignature", TRUE);
   288         signatureInfo.put("com.sun.net.ssl.internal.ssl.RSASignature", TRUE);
       
   289         signatureInfo.put("sun.security.pkcs11.P11Signature", TRUE);
   288         signatureInfo.put("sun.security.pkcs11.P11Signature", TRUE);
   290     }
   289     }
   291 
   290 
   292     private static boolean isSpi(Service s) {
   291     private static boolean isSpi(Service s) {
   293         if (s.getType().equals("Cipher")) {
   292         if (s.getType().equals("Cipher")) {