< prev index next >

test/jdk/sun/security/rsa/SignatureOffsets.java

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -25,11 +25,11 @@
  import java.security.NoSuchAlgorithmException;
  import java.security.SignatureException;
  
  /*
   * @test
-  * @bug 8050374 8146293
+  * @bug 8050374 8146293 8172366
   * @key randomness
   * @summary This test validates signature verification
   *          Signature.verify(byte[], int, int). The test uses RandomFactory to
   *          get random set of clear text data to sign. After the signature
   *          generation, the test tries to verify signature with the above API

@@ -44,10 +44,14 @@
   * @run main SignatureOffsets SunRsaSign SHA256withRSA
   * @run main SignatureOffsets SunRsaSign SHA384withRSA
   * @run main SignatureOffsets SunRsaSign SHA512withRSA
   * @run main SignatureOffsets SunRsaSign SHA512/224withRSA
   * @run main SignatureOffsets SunRsaSign SHA512/256withRSA
+  * @run main SignatureOffsets SunRsaSign SHA3-224withRSA
+  * @run main SignatureOffsets SunRsaSign SHA3-256withRSA
+  * @run main SignatureOffsets SunRsaSign SHA3-384withRSA
+  * @run main SignatureOffsets SunRsaSign SHA3-512withRSA
   */
  public class SignatureOffsets {
  
      public static void main(String[] args) throws NoSuchAlgorithmException,
              InvalidKeyException, SignatureException {
< prev index next >