jdk/test/java/security/SignedObject/Chain.java
changeset 39502 682792016aec
parent 30791 425c19d93347
child 44116 fa73683c2c10
equal deleted inserted replaced
39501:f971def61cb8 39502:682792016aec
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2016, 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.
    31 import java.util.Arrays;
    31 import java.util.Arrays;
    32 
    32 
    33 /*
    33 /*
    34  * @test
    34  * @test
    35  * @bug 8050374
    35  * @bug 8050374
       
    36  * @key intermittent
    36  * @summary Verify a chain of signed objects
    37  * @summary Verify a chain of signed objects
    37  */
    38  */
    38 public class Chain {
    39 public class Chain {
    39 
    40 
    40     static enum KeyAlg {
    41     static enum KeyAlg {