< prev index next >

src/java.base/share/classes/sun/security/x509/AlgorithmId.java

Print this page
*** 194,10 ***
--- 194,14 ---
                  algid.equals((Object)SHA256_oid) ||
                  algid.equals((Object)SHA384_oid) ||
                  algid.equals((Object)SHA512_oid) ||
                  algid.equals((Object)SHA512_224_oid) ||
                  algid.equals((Object)SHA512_256_oid) ||
+                 algid.equals((Object)SHA3_224_oid) ||
+                 algid.equals((Object)SHA3_256_oid) ||
+                 algid.equals((Object)SHA3_384_oid) ||
+                 algid.equals((Object)SHA3_512_oid) ||
                  algid.equals((Object)DSA_oid) ||
                  algid.equals((Object)sha1WithDSA_oid)) {
                  ; // no parameter part encoded
              } else {
                  bytes.putNull();

*** 606,10 ***
--- 610,22 ---
              ObjectIdentifier.of(KnownOIDs.SHA_512$224);
  
      public static final ObjectIdentifier SHA512_256_oid =
              ObjectIdentifier.of(KnownOIDs.SHA_512$256);
  
+     public static final ObjectIdentifier SHA3_224_oid =
+             ObjectIdentifier.of(KnownOIDs.SHA3_224);
+ 
+     public static final ObjectIdentifier SHA3_256_oid =
+             ObjectIdentifier.of(KnownOIDs.SHA3_256);
+ 
+     public static final ObjectIdentifier SHA3_384_oid =
+             ObjectIdentifier.of(KnownOIDs.SHA3_384);
+ 
+     public static final ObjectIdentifier SHA3_512_oid =
+             ObjectIdentifier.of(KnownOIDs.SHA3_512);
+ 
      public static final ObjectIdentifier DSA_oid =
              ObjectIdentifier.of(KnownOIDs.DSA);
  
      public static final ObjectIdentifier EC_oid =
              ObjectIdentifier.of(KnownOIDs.EC);
< prev index next >