equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2010, 2018, 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. |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 6837847 |
26 * @bug 6837847 |
27 * @summary Ensure a deserialized PKCS#11 SecureRandom is functional. |
27 * @summary Ensure a deserialized PKCS#11 SecureRandom is functional. |
28 * @library .. |
28 * @library /test/lib .. |
29 * @modules jdk.crypto.cryptoki |
29 * @modules jdk.crypto.cryptoki |
30 */ |
30 */ |
31 |
31 |
32 import java.io.ByteArrayInputStream; |
32 import java.io.ByteArrayInputStream; |
33 import java.io.ByteArrayOutputStream; |
33 import java.io.ByteArrayOutputStream; |