Logo Search packages:      
Sourcecode: libgnucrypto-java version File versions  Download package

DifferentPoliciesTest5.java

/* DifferentPoliciesTest5.java
   Copyright (C) 2004  Free Software Foundation, Inc.

   Distributed under the GPL; see the file `COPYING' */

// Tags: PKITS

package gnu.testlet.gnu.crypto.pki.pkits;

import java.security.cert.PKIXParameters;
import java.util.Collections;

00013 public class DifferentPoliciesTest5 extends BaseInvalidTest
{
  public DifferentPoliciesTest5()
  {
    super (new String[] { "data/certs/DifferentPoliciesTest5EE.crt",
                          "data/certs/PoliciesP2subCA2Cert.crt",
                          "data/certs/GoodCACert.crt" },
           new String[] { "data/crls/PoliciesP2subCA2CRL.crl",
                          "data/crls/GoodCACRL.crl" });
  }

00024   protected void setupAdditionalParams (PKIXParameters params)
  {
    params.setInitialPolicies (Collections.EMPTY_SET);
    params.setAnyPolicyInhibited (true);
  }
}

Generated by  Doxygen 1.6.0   Back to index