Home | History | Annotate | Download | only in cert

Lines Matching defs:CertStore

36 import java.security.cert.CertStore;
45 * Tests for <code>CertStore</code> class constructors and
51 public static final String srvCertStore = "CertStore";
109 private CertStore [] createCS() {
115 CertStore [] ss = new CertStore[3];
116 ss[0] = CertStore.getInstance(dType, dParams);
117 ss[1] = CertStore.getInstance(dType, dParams, dProv);
118 ss[2] = CertStore.getInstance(dType, dParams, dName);
128 * Assertion: returns security property "certstore.type" or "LDAP"
134 String dt = CertStore.getDefaultType();
135 String sn = Security.getProperty("certstore.type");
143 Security.setProperty("certstore.type", def);
144 dt = CertStore.getDefaultType();
146 Security.setProperty("certstore.type", sn);
147 assertEquals("Incorrect default type", Security.getProperty("certstore.type"), sn );
151 * <code>CertStore</code> constructor
152 * Assertion: returns CertStore object
160 CertStore certS = new myCertStore(spi, dProv, dType, pp);
192 CertStore.getInstance(null, dParams);
199 CertStore.getInstance(invalidValues[i], dParams);
208 * Assertion: return CertStore object
215 CertStore certS;
217 certS = CertStore.getInstance(dValid[i], dParams);
237 CertStore.getInstance(dValid[i], dParams, provider);
242 CertStore.getInstance(dValid[i], dParams, "");
261 CertStore.getInstance(dValid[i], dParams, invalidValues[j]);
282 CertStore.getInstance(invalidValues[i], dParams, dName);
288 CertStore.getInstance(null, dParams, dName);
298 * Assertion: return CertStore object
305 CertStore certS;
307 certS = CertStore.getInstance(dValid[i], dParams, dName);
326 CertStore.getInstance(dValid[i], dParams, provider);
343 CertStore.getInstance(null, dParams, dProv);
350 CertStore.getInstance(invalidValues[i], dParams, dProv);
360 * Assertion: return CertStore object
367 CertStore certS;
369 certS = CertStore.getInstance(dValid[i], dParams, dProv);
384 CertStore [] certS = createCS();
385 assertNotNull("CertStore object were not created", certS);
404 CertStore certS;
406 certS = CertStore.getInstance(dValid[i], dParams);
410 certS = CertStore.getInstance(dValid[i], dParams,
418 certS = CertStore.getInstance(dValid[i], dParams,
436 CertStore certS;
439 certS = CertStore
448 certS = CertStore.getInstance(dValid[i], dParams,
467 CertStore certS;
469 certS = CertStore.getInstance(dValid[i], dParams);
476 certS = CertStore.getInstance(dValid[i], dParams,
488 certS = CertStore.getInstance(dValid[i], dParams,
503 * Additional class to verify CertStore constructor
505 class myCertStore extends CertStore {