Class AbstractKeyEntryResolver<PUB extends PublicKey,PRV extends PrivateKey>
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.common.config.keys.impl.AbstractIdentityResourceLoader<PUB,PRV>
-
- org.apache.sshd.common.config.keys.impl.AbstractKeyEntryResolver<PUB,PRV>
-
- Type Parameters:
PUB
- Type ofPublicKey
PRV
- Type ofPrivateKey
- All Implemented Interfaces:
IdentityResourceLoader<PUB,PRV>
,KeyEntryResolver<PUB,PRV>
,KeyTypeNamesSupport
- Direct Known Subclasses:
AbstractPrivateKeyEntryDecoder
,AbstractPublicKeyEntryDecoder
public abstract class AbstractKeyEntryResolver<PUB extends PublicKey,PRV extends PrivateKey> extends AbstractIdentityResourceLoader<PUB,PRV> implements KeyEntryResolver<PUB,PRV>
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
-
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Fields inherited from interface org.apache.sshd.common.config.keys.IdentityResourceLoader
MAX_BIGINT_OCTETS_COUNT
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractKeyEntryResolver(Class<PUB> pubType, Class<PRV> prvType, Collection<String> names)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PRV
generatePrivateKey(KeySpec keySpec)
PUB
generatePublicKey(KeySpec keySpec)
String
toString()
-
Methods inherited from class org.apache.sshd.common.config.keys.impl.AbstractIdentityResourceLoader
getPrivateKeyType, getPublicKeyType, getSupportedKeyTypes
-
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.sshd.common.config.keys.IdentityResourceLoader
getPrivateKeyType, getPublicKeyType
-
Methods inherited from interface org.apache.sshd.common.config.keys.KeyEntryResolver
cloneKeyPair, clonePrivateKey, clonePublicKey, generateKeyPair, getKeyFactoryInstance, getKeyPairGenerator
-
Methods inherited from interface org.apache.sshd.common.config.keys.KeyTypeNamesSupport
getSupportedKeyTypes
-
-
-
-
Method Detail
-
generatePublicKey
public PUB generatePublicKey(KeySpec keySpec) throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
generatePrivateKey
public PRV generatePrivateKey(KeySpec keySpec) throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
-