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| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIdentityResourceLoader(Class<PUB> pubType,
Class<PRV> prvType,
Collection<String> names) |
| Modifier and Type | Method and Description |
|---|---|
Class<PRV> |
getPrivateKeyType() |
Class<PUB> |
getPublicKeyType() |
Collection<String> |
getSupportedTypeNames() |
getSimplifiedLoggerpublic 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 Collection<String> getSupportedTypeNames()
getSupportedTypeNames in interface IdentityResourceLoader<PUB extends PublicKey,PRV extends PrivateKey>Collection of OpenSSH key type names that
are supported by this decoder - e.g., ECDSA keys have several curve names.
Caveat: this collection may be un-modifiable...Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.