Lines Matching refs:ks
48 protected void engineInit(KeyStore ks) throws KeyStoreException {
49 if (ks == null) {
51 ks = getCacertsKeyStore("trustmanager");
79 trustManager = getInstance(ks);
83 abstract X509TrustManager getInstance(KeyStore ks) throws KeyStoreException;
139 KeyStore ks = null;
210 ks = KeyStore.getInstance(defaultTrustStoreType);
212 ks = KeyStore.getInstance(defaultTrustStoreType,
221 ks.load(fis, passwd);
235 return ks;
239 X509TrustManager getInstance(KeyStore ks) throws KeyStoreException {
240 return new X509TrustManagerImpl(Validator.TYPE_SIMPLE, ks);
251 X509TrustManager getInstance(KeyStore ks) throws KeyStoreException {
252 return new X509TrustManagerImpl(Validator.TYPE_PKIX, ks);