diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2017-10-12 11:36:11 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2017-10-12 11:36:16 +0200 |
commit | be860d36892d3df7c2b8235db0794dc8091ff0a7 (patch) | |
tree | bbe5a5151047fc8909ae9dfc49db77de834ad40f /jdisc_http_service | |
parent | 4dae8f7765189e999e9c3010ab8b55eea9d3ca40 (diff) |
Add back SslKeyStoreFactoryProvider as a temporary workaround
Some applications use unsafe config features
that breaks when removing a component from the config-model.
Diffstat (limited to 'jdisc_http_service')
-rw-r--r-- | jdisc_http_service/src/main/java/com/yahoo/jdisc/http/ssl/SslKeyStoreFactory.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/ssl/SslKeyStoreFactory.java b/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/ssl/SslKeyStoreFactory.java new file mode 100644 index 00000000000..6bffd080cf9 --- /dev/null +++ b/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/ssl/SslKeyStoreFactory.java @@ -0,0 +1,15 @@ +// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.jdisc.http.ssl; + +/** + * A factory for SSL key stores. + * + * @author bratseth + */ +public interface SslKeyStoreFactory { + + SslKeyStore createKeyStore(ReaderForPath certificateFile, ReaderForPath keyFile); + + SslKeyStore createTrustStore(ReaderForPath certificateFile); + +} |