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.
- Author:
- Apache MINA SSHD Project
-
Method Summary
Modifier and TypeMethodDescriptionstatic <I extends KeyTypeIndicator>
NavigableMap<String, List<I>> groupByKeyType(Collection<? extends I> indicators)
-
Method Details
-
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
NavigableMapwhere key=the case insensitivekey type, value = theListof all indicators having the same key type
-