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 ofPublicKeyPRV- 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 AbstractLoggingBean
logFields inherited from interface IdentityResourceLoader
MAX_BIGINT_OCTETS_COUNT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractKeyEntryResolver(Class<PUB> pubType, Class<PRV> prvType, Collection<String> names) -
Method Summary
Modifier and TypeMethodDescriptiongeneratePrivateKey(KeySpec keySpec) generatePublicKey(KeySpec keySpec) toString()Methods inherited from class AbstractIdentityResourceLoader
getPrivateKeyType, getPublicKeyType, getSupportedKeyTypesMethods inherited from class AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IdentityResourceLoader
getPrivateKeyType, getPublicKeyTypeMethods inherited from interface KeyEntryResolver
cloneKeyPair, clonePrivateKey, clonePublicKey, generateKeyPair, getKeyFactoryInstance, getKeyPairGeneratorMethods inherited from interface KeyTypeNamesSupport
getSupportedKeyTypes
-
Constructor Details
-
AbstractKeyEntryResolver
-
-
Method Details
-
generatePublicKey
- Throws:
GeneralSecurityException
-
generatePrivateKey
- Throws:
GeneralSecurityException
-
toString
-