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

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

extends AbstractIdentityResourceLoader<PUB extends PublicKey, PRV extends PrivateKey>
implements KeyEntryResolver<PUB extends PublicKey, PRV extends PrivateKey>
Class Inheritance
All Implemented Interfaces
org.apache.sshd.common.config.keys.KeyEntryResolver, org.apache.sshd.common.config.keys.IdentityResourceLoader, org.apache.sshd.common.config.keys.KeyTypeNamesSupport
Known Direct Subclasses
org.apache.sshd.common.config.keys.impl.AbstractPrivateKeyEntryDecoder, org.apache.sshd.common.config.keys.impl.AbstractPublicKeyEntryDecoder
Type Parameters
<PUB>
Type of PublicKey
<PRV>
Type of PrivateKey
Imports
java.security.GeneralSecurityException, .KeyFactory, .PrivateKey, .PublicKey, java.security.spec.KeySpec, java.util.Collection, org.apache.sshd.common.config.keys.KeyEntryResolver

Author
Apache MINA SSHD Project

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public PRV
public PUB
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.apache.sshd.common.config.keys.impl.AbstractIdentityResourceLoader:
getPrivateKeyTypegetPublicKeyTypegetSupportedKeyTypes

Constructor Detail

AbstractKeyEntryResolverback to summary
protected AbstractKeyEntryResolver(Class<PUB> pubType, Class<PRV> prvType, Collection<String> names)

Method Detail

generatePrivateKeyback to summary
public PRV generatePrivateKey(KeySpec keySpec) throws GeneralSecurityException
generatePublicKeyback to summary
public PUB generatePublicKey(KeySpec keySpec) throws GeneralSecurityException
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override