tests/libjava-mauve/src/gnu/testlet/java/security/cert/pkix/pkits/DifferentPoliciesTest3_2.java
equal
deleted
inserted
replaced
1 /* DifferentPoliciesTest3_2.java |
|
2 Copyright (C) 2004 Free Software Foundation, Inc. |
|
3 |
|
4 Distributed under the GPL; see the file `COPYING' */ |
|
5 |
|
6 // Tags: JDK1.4 |
|
7 // Uses: BaseValidTest |
|
8 // Files: data/certs/DifferentPoliciesTest3EE.crt data/certs/PoliciesP2subCACert.crt data/certs/GoodCACert.crt data/crls/PoliciesP2subCACRL.crl data/crls/GoodCACRL.crl |
|
9 |
|
10 package gnu.testlet.java.security.cert.pkix.pkits; |
|
11 |
|
12 import java.security.cert.PKIXParameters; |
|
13 |
|
14 public class DifferentPoliciesTest3_2 extends BaseInvalidTest |
|
15 { |
|
16 public DifferentPoliciesTest3_2() |
|
17 { |
|
18 super (new String[] { "data/certs/DifferentPoliciesTest3EE.crt", |
|
19 "data/certs/PoliciesP2subCACert.crt", |
|
20 "data/certs/GoodCACert.crt" }, |
|
21 new String[] { "data/crls/PoliciesP2subCACRL.crl", |
|
22 "data/crls/GoodCACRL.crl" }); |
|
23 } |
|
24 |
|
25 protected void setupAdditionalParams (PKIXParameters params) |
|
26 { |
|
27 params.setExplicitPolicyRequired (true); |
|
28 } |
|
29 } |
|