aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/coredump/SecretSharedKeySupplier.java
blob: e5291c837a2221781d9e575caf475b61fb894f5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Vespa.ai. 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);

}