jdk/src/share/classes/sun/security/ec/SunECEntries.java
changeset 12685 8a448b5b9006
parent 5506 202f599c92aa
child 13661 7c894680910a
equal deleted inserted replaced
12676:3b7fae360d04 12685:8a448b5b9006
     1 /*
     1 /*
     2  * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2009, 2012, 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
   131          */
   131          */
   132         map.put("Signature.NONEwithECDSA",
   132         map.put("Signature.NONEwithECDSA",
   133             "sun.security.ec.ECDSASignature$Raw");
   133             "sun.security.ec.ECDSASignature$Raw");
   134         map.put("Signature.SHA1withECDSA",
   134         map.put("Signature.SHA1withECDSA",
   135             "sun.security.ec.ECDSASignature$SHA1");
   135             "sun.security.ec.ECDSASignature$SHA1");
       
   136         map.put("Signature.SHA224withECDSA",
       
   137             "sun.security.ec.ECDSASignature$SHA224");
       
   138         map.put("Alg.Alias.Signature.OID.1.2.840.10045.4.3.1", "SHA224withECDSA");
       
   139         map.put("Alg.Alias.Signature.1.2.840.10045.4.3.1", "SHA224withECDSA");
       
   140 
   136         map.put("Signature.SHA256withECDSA",
   141         map.put("Signature.SHA256withECDSA",
   137             "sun.security.ec.ECDSASignature$SHA256");
   142             "sun.security.ec.ECDSASignature$SHA256");
       
   143         map.put("Alg.Alias.Signature.OID.1.2.840.10045.4.3.2", "SHA256withECDSA");
       
   144         map.put("Alg.Alias.Signature.1.2.840.10045.4.3.2", "SHA256withECDSA");
       
   145 
   138         map.put("Signature.SHA384withECDSA",
   146         map.put("Signature.SHA384withECDSA",
   139             "sun.security.ec.ECDSASignature$SHA384");
   147             "sun.security.ec.ECDSASignature$SHA384");
       
   148         map.put("Alg.Alias.Signature.OID.1.2.840.10045.4.3.3", "SHA384withECDSA");
       
   149         map.put("Alg.Alias.Signature.1.2.840.10045.4.3.3", "SHA384withECDSA");
       
   150 
   140         map.put("Signature.SHA512withECDSA",
   151         map.put("Signature.SHA512withECDSA",
   141             "sun.security.ec.ECDSASignature$SHA512");
   152             "sun.security.ec.ECDSASignature$SHA512");
       
   153         map.put("Alg.Alias.Signature.OID.1.2.840.10045.4.3.4", "SHA512withECDSA");
       
   154         map.put("Alg.Alias.Signature.1.2.840.10045.4.3.4", "SHA512withECDSA");
   142 
   155 
   143         String ecKeyClasses = "java.security.interfaces.ECPublicKey" +
   156         String ecKeyClasses = "java.security.interfaces.ECPublicKey" +
   144                 "|java.security.interfaces.ECPrivateKey";
   157                 "|java.security.interfaces.ECPrivateKey";
   145         map.put("Signature.NONEwithECDSA SupportedKeyClasses", ecKeyClasses);
   158         map.put("Signature.NONEwithECDSA SupportedKeyClasses", ecKeyClasses);
   146         map.put("Signature.SHA1withECDSA SupportedKeyClasses", ecKeyClasses);
   159         map.put("Signature.SHA1withECDSA SupportedKeyClasses", ecKeyClasses);
       
   160         map.put("Signature.SHA224withECDSA SupportedKeyClasses", ecKeyClasses);
   147         map.put("Signature.SHA256withECDSA SupportedKeyClasses", ecKeyClasses);
   161         map.put("Signature.SHA256withECDSA SupportedKeyClasses", ecKeyClasses);
   148         map.put("Signature.SHA384withECDSA SupportedKeyClasses", ecKeyClasses);
   162         map.put("Signature.SHA384withECDSA SupportedKeyClasses", ecKeyClasses);
   149         map.put("Signature.SHA512withECDSA SupportedKeyClasses", ecKeyClasses);
   163         map.put("Signature.SHA512withECDSA SupportedKeyClasses", ecKeyClasses);
   150 
   164 
   151         map.put("Signature.SHA1withECDSA KeySize", "256");
   165         map.put("Signature.SHA1withECDSA KeySize", "256");
   152 
   166 
   153         map.put("Signature.NONEwithECDSA ImplementedIn", "Software");
   167         map.put("Signature.NONEwithECDSA ImplementedIn", "Software");
   154         map.put("Signature.SHA1withECDSA ImplementedIn", "Software");
   168         map.put("Signature.SHA1withECDSA ImplementedIn", "Software");
       
   169         map.put("Signature.SHA224withECDSA ImplementedIn", "Software");
   155         map.put("Signature.SHA256withECDSA ImplementedIn", "Software");
   170         map.put("Signature.SHA256withECDSA ImplementedIn", "Software");
   156         map.put("Signature.SHA384withECDSA ImplementedIn", "Software");
   171         map.put("Signature.SHA384withECDSA ImplementedIn", "Software");
   157         map.put("Signature.SHA512withECDSA ImplementedIn", "Software");
   172         map.put("Signature.SHA512withECDSA ImplementedIn", "Software");
   158 
   173 
   159         /*
   174         /*