Top Methods
org.apache.sshd.common.keyprovider

public Interface KeyTypeIndicator

Known Direct Implementers
org.apache.sshd.common.cipher.ECCurves, org.apache.sshd.common.config.keys.PublicKeyEntry
Annotations
@FunctionalInterface
Imports
java.util.Collection, .Collections, .List, .NavigableMap, .TreeMap, java.util.stream.Collectors, org.apache.sshd.common.util.GenericUtils

Author
Apache MINA SSHD Project

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The SSH key type name - e.g., "ssh-rsa", "sshd-dss" etc.
getKeyType
()

public static <I extends KeyTypeIndicator> NavigableMap<String, List<I>>

Returns:

A NavigableMap where key=the case insensitive key type, value = the List of all indicators having the same key type
groupByKeyType
(Collection<? extends I>
The indicators to group
indicators
)

Method Detail

getKeyTypeback to summary
public String getKeyType()
Returns:String

The SSH key type name - e.g., "ssh-rsa", "sshd-dss" etc.

groupByKeyTypeback to summary
public static <I extends KeyTypeIndicator> NavigableMap<String, List<I>> groupByKeyType(Collection<? extends I> indicators)
Parameters
<I>
The KeyTypeIndicator
indicators:Collection<? extends I>

The indicators to group

Returns:NavigableMap<String, List<I>>

A NavigableMap where key=the case insensitive key type, value = the List of all indicators having the same key type