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

}