Top Description Fields Methods
org.apache.sshd.common.config.keys

public Interface Identity

extends AlgorithmNameProvider, NamedResource, OptionalFeature, KeyTypeNamesSupport
Known Direct Implementers
org.apache.sshd.common.config.keys.BuiltinIdentities
Imports
java.security.PrivateKey, .PublicKey, org.apache.sshd.common.AlgorithmNameProvider, .NamedResource, .OptionalFeature

Represents an SSH key type - the referenced algorithm is the one used to generate the key - e.g., "RSA", "DSA", "EC".
Author
Apache MINA SSHD Project

Field Summary

Inherited from org.apache.sshd.common.NamedResource:
BY_NAME_COMPARATORNAME_EXTRACTOR
Inherited from org.apache.sshd.common.OptionalFeature:
FALSETRUE

Method Summary

Modifier and TypeMethod and Description
public Class<? extends PrivateKey>
public Class<? extends PublicKey>
Inherited from org.apache.sshd.common.AlgorithmNameProvider:
getAlgorithm
Inherited from org.apache.sshd.common.config.keys.KeyTypeNamesSupport:
findSupporterByKeyTypeNamegetSupportedKeyTypes
Inherited from org.apache.sshd.common.NamedResource:
findByNamefindFirstMatchByNamegetNamegetNameListgetNamesofNameremoveByNamesafeCompareByName
Inherited from org.apache.sshd.common.OptionalFeature:
allanyisSupportedof

Method Detail

getPrivateKeyTypeback to summary
public Class<? extends PrivateKey> getPrivateKeyType()
getPublicKeyTypeback to summary
public Class<? extends PublicKey> getPublicKeyType()