Searched refs:keystore (Results 1 - 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/security/cert/
H A DPKIXBuilderParameters.java112 * Only keystore entries that contain trusted {@code X509Certificate}s
115 * @param keystore a {@code KeyStore} from which the set of
119 * @throws KeyStoreException if {@code keystore} has not been
121 * @throws InvalidAlgorithmParameterException if {@code keystore} does
123 * @throws NullPointerException if {@code keystore} is
126 public PKIXBuilderParameters(KeyStore keystore, argument
130 super(keystore);
H A DPKIXParameters.java131 * Only keystore entries that contain trusted {@code X509Certificates}
134 * @param keystore a {@code KeyStore} from which the set of
136 * @throws KeyStoreException if the keystore has not been initialized
137 * @throws InvalidAlgorithmParameterException if the keystore does
139 * @throws NullPointerException if the keystore is {@code null}
141 public PKIXParameters(KeyStore keystore) argument
144 if (keystore == null)
145 throw new NullPointerException("the keystore parameter must be " +
148 Enumeration<String> aliases = keystore.aliases();
151 if (keystore
[all...]
/libcore/luni/src/test/java/libcore/java/security/cert/
H A DOldPKIXParametersTest.java204 KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType());
205 keystore.load(null,null);
206 keystore.setCertificateEntry("test", TestUtils.rootCertificateSS);
209 PKIXParameters p = new PKIXParameters(keystore);

Completed in 38 milliseconds