< prev index next >

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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 2017, 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. --- 1,7 ---- /* ! * Copyright (c) 2015, 2018, 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.
*** 21,34 **** * questions. */ /* * @test ! * @bug 8050374 ! * @summary Verify a chain of signed objects * @compile ../../../java/security/SignedObject/Chain.java * @run main SignedObjectChain */ public class SignedObjectChain { private static class Test extends Chain.Test { --- 21,36 ---- * questions. */ /* * @test ! * @bug 8050374 8146293 ! * @library /test/lib ! * @build jdk.test.lib.SigTestUtil * @compile ../../../java/security/SignedObject/Chain.java * @run main SignedObjectChain + * @summary Verify a chain of signed objects */ public class SignedObjectChain { private static class Test extends Chain.Test {
*** 43,52 **** --- 45,56 ---- new Test(Chain.SigAlg.SHA1withRSA), new Test(Chain.SigAlg.SHA224withRSA), new Test(Chain.SigAlg.SHA256withRSA), new Test(Chain.SigAlg.SHA384withRSA), new Test(Chain.SigAlg.SHA512withRSA), + new Test(Chain.SigAlg.SHA512_224withRSA), + new Test(Chain.SigAlg.SHA512_256withRSA), }; public static void main(String argv[]) { boolean resutl = java.util.Arrays.stream(tests).allMatch( (test) -> Chain.runTest(test));
< prev index next >