2 * Copyright (c) 2020 Pantheon Technologies, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.netconf.callhome.protocol.tls;
10 import java.security.PublicKey;
11 import java.util.Optional;
14 public interface TlsAllowedDevicesMonitor {
16 * Returns a Call-Home Device ID by the public key.
18 Optional<String> findDeviceIdByPublicKey(PublicKey publicKey);
21 * Returns a set of IDs for the keys associated with Call-Home devices.
23 Set<String> findAllowedKeys();