blob: fbaeb57fec1fa051dbf9a7ab46d1f1f13acdc19b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2020 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;
import java.util.List;
import java.util.Optional;
/**
* Generates an endpoint certificate for an application instance.
*
* @author andreer
*/
public interface EndpointCertificateProvider {
EndpointCertificateMetadata requestCaSignedCertificate(ApplicationId applicationId, List<String> dnsNames, Optional<EndpointCertificateMetadata> currentMetadata);
List<EndpointCertificateRequestMetadata> listCertificates();
void deleteCertificate(ApplicationId applicationId, String requestId);
}
|