Rework SslHandlerFactory
[netconf.git] / apps / callhome-provider / src / main / java / org / opendaylight / netconf / callhome / server / tls / CallHomeTlsAuthProvider.java
1 /*
2  * Copyright (c) 2023 PANTHEON.tech s.r.o. and others. All rights reserved.
3  *
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
7  */
8 package org.opendaylight.netconf.callhome.server.tls;
9
10 import java.security.PublicKey;
11 import org.eclipse.jdt.annotation.NonNull;
12 import org.eclipse.jdt.annotation.Nullable;
13 import org.opendaylight.netconf.transport.tls.SslHandlerFactory;
14
15 /**
16  * Authentication provider.
17  */
18 public abstract class CallHomeTlsAuthProvider extends SslHandlerFactory {
19
20     public abstract @Nullable String idFor(@NonNull PublicKey publicKey);
21 }