Interface KeyTypeIndicator
-
- All Known Implementing Classes:
AuthorizedKeyEntry
,ECCurves
,PublicKeyEntry
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface KeyTypeIndicator
- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getKeyType()
static <I extends KeyTypeIndicator>
NavigableMap<String,List<I>>groupByKeyType(Collection<? extends I> indicators)
-
-
-
Method Detail
-
getKeyType
String getKeyType()
- Returns:
- The SSH key type name - e.g., "ssh-rsa", "sshd-dss" etc.
-
groupByKeyType
static <I extends KeyTypeIndicator> NavigableMap<String,List<I>> groupByKeyType(Collection<? extends I> indicators)
- Type Parameters:
I
- TheKeyTypeIndicator
- Parameters:
indicators
- The indicators to group- Returns:
- A
NavigableMap
where key=the case insensitivekey type
, value = theList
of all indicators having the same key type
-
-