MCPcopy Create free account
hub / github.com/apache/cloudstack / loadKeyStore

Method loadKeyStore

utils/src/main/java/com/cloud/utils/nio/Link.java:372–376  ·  view source on GitHub ↗
(final InputStream stream, final char[] passphrase)

Source from the content-addressed store, hash-verified

370 }
371
372 public static KeyStore loadKeyStore(final InputStream stream, final char[] passphrase) throws GeneralSecurityException, IOException {
373 final KeyStore ks = KeyStore.getInstance("JKS");
374 ks.load(stream, passphrase);
375 return ks;
376 }
377
378 public static SSLEngine initServerSSLEngine(final CAService caService, final String clientAddress) throws GeneralSecurityException, IOException {
379 final SSLContext sslContext = SSLUtils.getSSLContext();

Callers 2

initServerSSLEngineMethod · 0.95
initClientSSLContextMethod · 0.95

Calls 2

getInstanceMethod · 0.65
loadMethod · 0.45

Tested by

no test coverage detected