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
MAX_BIGINT_OCTETS_COUNT
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, getSupportedKeyTypes
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
findSupporterByKeyTypeName, getSupportedKeyTypes
public PUB generatePublicKey(KeySpec keySpec) throws GeneralSecurityException
GeneralSecurityException
public PRV generatePrivateKey(KeySpec keySpec) throws GeneralSecurityException
GeneralSecurityException
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.