PUB
- Generic public key typePRV
- Generic private key typepublic abstract class AbstractIdentityResourceLoader<PUB extends PublicKey,PRV extends PrivateKey> extends AbstractLoggingBean implements IdentityResourceLoader<PUB,PRV>
log
MAX_BIGINT_OCTETS_COUNT
Modifier | Constructor and Description |
---|---|
protected |
AbstractIdentityResourceLoader(Class<PUB> pubType,
Class<PRV> prvType,
Collection<String> keyTypes) |
Modifier and Type | Method and Description |
---|---|
Class<PRV> |
getPrivateKeyType() |
Class<PUB> |
getPublicKeyType() |
NavigableSet<String> |
getSupportedKeyTypes() |
getSimplifiedLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findSupporterByKeyTypeName
public final Class<PUB> getPublicKeyType()
getPublicKeyType
in interface IdentityResourceLoader<PUB extends PublicKey,PRV extends PrivateKey>
Class
of the PublicKey
that is
the result of decodingpublic final Class<PRV> getPrivateKeyType()
getPrivateKeyType
in interface IdentityResourceLoader<PUB extends PublicKey,PRV extends PrivateKey>
Class
of the PrivateKey
that
matches the public onepublic NavigableSet<String> getSupportedKeyTypes()
getSupportedKeyTypes
in interface KeyTypeNamesSupport
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...Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.