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
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getKeyType()
static <I extends KeyTypeIndicator>
java.util.NavigableMap<java.lang.String,java.util.List<I>>groupByKeyType(java.util.Collection<? extends I> indicators)
-
-
-
Method Detail
-
getKeyType
java.lang.String getKeyType()
- Returns:
- The SSH key type name - e.g., "ssh-rsa", "sshd-dss" etc.
-
groupByKeyType
static <I extends KeyTypeIndicator> java.util.NavigableMap<java.lang.String,java.util.List<I>> groupByKeyType(java.util.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
-
-