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>
-
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
ConstructorsModifierConstructorDescriptionprotected
AbstractKeyEntryResolver
(Class<PUB> pubType, Class<PRV> prvType, Collection<String> names) -
Method Summary
Modifier and TypeMethodDescriptiongeneratePrivateKey
(KeySpec keySpec) generatePublicKey
(KeySpec keySpec) 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
-
Constructor Details
-
AbstractKeyEntryResolver
-
-
Method Details
-
generatePublicKey
- Throws:
GeneralSecurityException
-
generatePrivateKey
- Throws:
GeneralSecurityException
-
toString
-