aboutsummaryrefslogtreecommitdiffstats
path: root/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/ssl/SslKeyStoreFactory.java
blob: 6bffd080cf97a80c795a9b82cf33fb7cdf828b4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);

}