MCPcopy Index your code
hub / github.com/apache/tomcat / getKeyStore

Method getKeyStore

test/org/apache/tomcat/util/net/TesterSupport.java:279–286  ·  view source on GitHub ↗
(String keystore)

Source from the content-addressed store, hash-verified

277 }
278
279 private static KeyStore getKeyStore(String keystore) throws Exception {
280 File keystoreFile = new File(keystore);
281 KeyStore ks = KeyStore.getInstance("JKS");
282 try (InputStream is = new FileInputStream(keystoreFile)) {
283 ks.load(is, JKS_PASS.toCharArray());
284 }
285 return ks;
286 }
287
288 protected static boolean isClientRenegotiationSupported(Tomcat tomcat) {
289 // Disabled for Tomcat Native (part of response to CVE-2009-3555)

Callers 3

getUserKeyManagersMethod · 0.95
getTrustManagersMethod · 0.95

Calls 3

toCharArrayMethod · 0.80
getInstanceMethod · 0.65
loadMethod · 0.65

Tested by

no test coverage detected