equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2013, 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. |
7 * published by the Free Software Foundation. |
25 * @test |
25 * @test |
26 * @bug 4635230 6365103 6366054 6824440 7131084 |
26 * @bug 4635230 6365103 6366054 6824440 7131084 |
27 * @summary Basic unit tests for validating XML Signatures with JSR 105 |
27 * @summary Basic unit tests for validating XML Signatures with JSR 105 |
28 * @compile -XDignore.symbol.file KeySelectors.java SignatureValidator.java |
28 * @compile -XDignore.symbol.file KeySelectors.java SignatureValidator.java |
29 * X509KeySelector.java ValidationTests.java |
29 * X509KeySelector.java ValidationTests.java |
30 * @run main ValidationTests |
30 * @run main/othervm ValidationTests |
31 * @author Sean Mullan |
31 * @author Sean Mullan |
32 */ |
32 */ |
33 import java.io.File; |
33 import java.io.File; |
34 import java.io.FileInputStream; |
34 import java.io.FileInputStream; |
35 import java.security.*; |
35 import java.security.*; |