aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/coredump/SecretSharedKeySupplier.java
blob: 5d33c80e0cb3ef591bc0dbdbdbed7b059d6afe36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.node.admin.maintenance.coredump;

import com.yahoo.security.KeyId;
import com.yahoo.security.SecretSharedKey;

import java.util.Optional;

/**
 * @author vekterli
 */
@FunctionalInterface
public interface SecretSharedKeySupplier {

    Optional<SecretSharedKey> create(KeyId publicKeyId);

}