PUB
- Type of PublicKey
PRV
- Type of PrivateKey
public abstract class AbstractKeyEntryResolver<PUB extends PublicKey,PRV extends PrivateKey> extends AbstractIdentityResourceLoader<PUB,PRV> implements KeyEntryResolver<PUB,PRV>
log
Modifier | Constructor and Description |
---|---|
protected |
AbstractKeyEntryResolver(Class<PUB> pubType,
Class<PRV> prvType,
Collection<String> names) |
Modifier and Type | Method and Description |
---|---|
PRV |
generatePrivateKey(KeySpec keySpec) |
PUB |
generatePublicKey(KeySpec keySpec) |
String |
toString() |
getPrivateKeyType, getPublicKeyType, getSupportedTypeNames
getSimplifiedLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
cloneKeyPair, clonePrivateKey, clonePublicKey, decodeBigInt, decodeInt, decodeString, decodeString, decodeString, encodeBigInt, encodeInt, encodeString, encodeString, encodeString, generateKeyPair, getKeyFactoryInstance, getKeyPairGenerator, readRLEBytes, writeRLEBytes, writeRLEBytes
getPrivateKeyType, getPublicKeyType, getSupportedTypeNames
public PUB generatePublicKey(KeySpec keySpec) throws GeneralSecurityException
GeneralSecurityException
public PRV generatePrivateKey(KeySpec keySpec) throws GeneralSecurityException
GeneralSecurityException
Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.