summaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/certificates/KeyPairProvider.java
blob: a872bf6334398488f202eda97306dee72f92f277 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.certificates;

import com.yahoo.config.provision.ApplicationId;

/**
 * Provides a key pair. Generates and persists the key pair if not found.
 *
 * @author mortent
 * @author andreer
 */
public interface KeyPairProvider {
    VersionedKeyPair getKeyPair(ApplicationId applicationId);
}