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

import java.nio.file.Paths;

/**
 * A factory for SSL key stores.
 *
 * @author bratseth
 */
public interface SslKeyStoreFactory {

    SslKeyStore createKeyStore(ReaderForPath certificateFile, ReaderForPath keyFile);

    SslKeyStore createTrustStore(ReaderForPath certificateFile);

}