Top Fields Constructors Methods
org.apache.sshd.common.config.keys.impl

public abstract Class AbstractIdentityResourceLoader<PUB extends PublicKey, PRV extends PrivateKey>

extends AbstractLoggingBean
implements IdentityResourceLoader<PUB extends PublicKey, PRV extends PrivateKey>
Class Inheritance
All Implemented Interfaces
org.apache.sshd.common.config.keys.IdentityResourceLoader, org.apache.sshd.common.config.keys.KeyTypeNamesSupport
Known Direct Subclasses
org.apache.sshd.common.config.keys.impl.AbstractKeyEntryResolver
Type Parameters
<PUB>
Generic public key type
<PRV>
Generic private key type
Imports
java.security.PrivateKey, .PublicKey, java.util.Collection, .Collections, .NavigableSet, .Objects, org.apache.sshd.common.config.keys.IdentityResourceLoader, org.apache.sshd.common.util.GenericUtils, .ValidateUtils, org.apache.sshd.common.util.logging.AbstractLoggingBean

Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
private final Class<PRV>
private final Class<PUB>
private final NavigableSet<String>
Inherited from org.apache.sshd.common.util.logging.AbstractLoggingBean:
log

Constructor Summary

AccessConstructor and Description
protected
AbstractIdentityResourceLoader(Class<PUB> pubType, Class<PRV> prvType, Collection<String> keyTypes)

Method Summary

Modifier and TypeMethod and Description
public final Class<PRV>
public final Class<PUB>
public NavigableSet<String>
Inherited from org.apache.sshd.common.util.logging.AbstractLoggingBean:
debugdebugdebugdebugdebugerrorerrorerrorerrorerrorgetSimplifiedLoggerinfoinfowarnwarnwarnwarnwarnwarnwarnwarn

Field Detail

prvTypeback to summary
private final Class<PRV> prvType
pubTypeback to summary
private final Class<PUB> pubType
typesback to summary
private final NavigableSet<String> types

Constructor Detail

AbstractIdentityResourceLoaderback to summary
protected AbstractIdentityResourceLoader(Class<PUB> pubType, Class<PRV> prvType, Collection<String> keyTypes)

Method Detail

getPrivateKeyTypeback to summary
public final Class<PRV> getPrivateKeyType()

Implements org.apache.sshd.common.config.keys.IdentityResourceLoader.getPrivateKeyType.

Returns:Class<PRV>

Doc from org.apache.sshd.common.config.keys.IdentityResourceLoader.getPrivateKeyType.

The Class of the PrivateKey that matches the public one

Annotations
@Override
getPublicKeyTypeback to summary
public final Class<PUB> getPublicKeyType()

Implements org.apache.sshd.common.config.keys.IdentityResourceLoader.getPublicKeyType.

Returns:Class<PUB>

Doc from org.apache.sshd.common.config.keys.IdentityResourceLoader.getPublicKeyType.

The Class of the PublicKey that is the result of decoding

Annotations
@Override
getSupportedKeyTypesback to summary
public NavigableSet<String> getSupportedKeyTypes()

Implements org.apache.sshd.common.config.keys.KeyTypeNamesSupport.getSupportedKeyTypes.

Returns:NavigableSet<String>

Doc from org.apache.sshd.common.config.keys.KeyTypeNamesSupport.getSupportedKeyTypes.

The case insensitive NavigableSet of OpenSSH key type names that are supported by this decoder - e.g., ssh-rsa, ssh-dss, ecdsa-sha2-nistp384. This is not a single name - e.g., ECDSA keys have several curve names

Caveat

this collection may be un-modifiable...

Annotations
@Override