src/java.base/share/classes/sun/security/x509/AlgorithmId.java
changeset 52996 2457d862a646
parent 51216 e429a304c97d
child 53082 4c539cb11633
equal deleted inserted replaced
52995:9af672cab7cb 52996:2457d862a646
   769         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 5, 6});
   769         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 5, 6});
   770     public static final ObjectIdentifier pbeWithSHA1AndDES_oid =
   770     public static final ObjectIdentifier pbeWithSHA1AndDES_oid =
   771         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 5, 10});
   771         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 5, 10});
   772     public static final ObjectIdentifier pbeWithSHA1AndRC2_oid =
   772     public static final ObjectIdentifier pbeWithSHA1AndRC2_oid =
   773         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 5, 11});
   773         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 5, 11});
       
   774     public static ObjectIdentifier pbeWithSHA1AndRC4_128_oid =
       
   775         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 12, 1, 1});
       
   776     public static ObjectIdentifier pbeWithSHA1AndRC4_40_oid =
       
   777         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 12, 1, 2});
   774     public static ObjectIdentifier pbeWithSHA1AndDESede_oid =
   778     public static ObjectIdentifier pbeWithSHA1AndDESede_oid =
   775         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 12, 1, 3});
   779         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 12, 1, 3});
       
   780     public static ObjectIdentifier pbeWithSHA1AndRC2_128_oid =
       
   781         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 12, 1, 5});
   776     public static ObjectIdentifier pbeWithSHA1AndRC2_40_oid =
   782     public static ObjectIdentifier pbeWithSHA1AndRC2_40_oid =
   777         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 12, 1, 6});
   783         ObjectIdentifier.newInternal(new int[] {1, 2, 840, 113549, 1, 12, 1, 6});
   778 
   784 
   779     static {
   785     static {
   780     /*
   786     /*
   959 
   965 
   960         nameTable.put(pbeWithMD5AndDES_oid, "PBEWithMD5AndDES");
   966         nameTable.put(pbeWithMD5AndDES_oid, "PBEWithMD5AndDES");
   961         nameTable.put(pbeWithMD5AndRC2_oid, "PBEWithMD5AndRC2");
   967         nameTable.put(pbeWithMD5AndRC2_oid, "PBEWithMD5AndRC2");
   962         nameTable.put(pbeWithSHA1AndDES_oid, "PBEWithSHA1AndDES");
   968         nameTable.put(pbeWithSHA1AndDES_oid, "PBEWithSHA1AndDES");
   963         nameTable.put(pbeWithSHA1AndRC2_oid, "PBEWithSHA1AndRC2");
   969         nameTable.put(pbeWithSHA1AndRC2_oid, "PBEWithSHA1AndRC2");
       
   970         nameTable.put(pbeWithSHA1AndRC4_128_oid, "PBEWithSHA1AndRC4_128");
       
   971         nameTable.put(pbeWithSHA1AndRC4_40_oid, "PBEWithSHA1AndRC4_40");
   964         nameTable.put(pbeWithSHA1AndDESede_oid, "PBEWithSHA1AndDESede");
   972         nameTable.put(pbeWithSHA1AndDESede_oid, "PBEWithSHA1AndDESede");
       
   973         nameTable.put(pbeWithSHA1AndRC2_128_oid, "PBEWithSHA1AndRC2_128");
   965         nameTable.put(pbeWithSHA1AndRC2_40_oid, "PBEWithSHA1AndRC2_40");
   974         nameTable.put(pbeWithSHA1AndRC2_40_oid, "PBEWithSHA1AndRC2_40");
   966     }
   975     }
   967 
   976 
   968     /**
   977     /**
   969      * Creates a signature algorithm name from a digest algorithm
   978      * Creates a signature algorithm name from a digest algorithm