PUB - Generic public key typePRV - Generic private key typepublic abstract class AbstractIdentityResourceLoader<PUB extends java.security.PublicKey,PRV extends java.security.PrivateKey> extends AbstractLoggingBean implements IdentityResourceLoader<PUB,PRV>
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<PRV> |
prvType |
private java.lang.Class<PUB> |
pubType |
private java.util.NavigableSet<java.lang.String> |
types |
logMAX_BIGINT_OCTETS_COUNT| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIdentityResourceLoader(java.lang.Class<PUB> pubType,
java.lang.Class<PRV> prvType,
java.util.Collection<java.lang.String> keyTypes) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<PRV> |
getPrivateKeyType() |
java.lang.Class<PUB> |
getPublicKeyType() |
java.util.NavigableSet<java.lang.String> |
getSupportedKeyTypes() |
getSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindSupporterByKeyTypeNameprivate final java.lang.Class<PUB extends java.security.PublicKey> pubType
private final java.lang.Class<PRV extends java.security.PrivateKey> prvType
private final java.util.NavigableSet<java.lang.String> types
public final java.lang.Class<PUB> getPublicKeyType()
getPublicKeyType in interface IdentityResourceLoader<PUB extends java.security.PublicKey,PRV extends java.security.PrivateKey>Class of the PublicKey that is the result of decodingpublic final java.lang.Class<PRV> getPrivateKeyType()
getPrivateKeyType in interface IdentityResourceLoader<PUB extends java.security.PublicKey,PRV extends java.security.PrivateKey>Class of the PrivateKey that matches the public onepublic java.util.NavigableSet<java.lang.String> getSupportedKeyTypes()
getSupportedKeyTypes in interface KeyTypeNamesSupportNavigableSet 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...