aboutsummaryrefslogtreecommitdiffstats
path: root/config-provisioning/src/main/java/com/yahoo/config/provision/security/NodeIdentifier.java
blob: 358417bfd14836eed708923216eacd8a62f5ad38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.provision.security;

import java.security.cert.X509Certificate;
import java.util.List;

/**
 * Identifies Vespa nodes from the their X509 certificate.
 *
 * @author bjorncs
 */
public interface NodeIdentifier {

    NodeIdentity identifyNode(List<X509Certificate> peerCertificateChain) throws NodeIdentifierException;

}