PUB
- Type of PublicKey
PRV
- Type of PrivateKey
public abstract class AbstractKeyEntryResolver<PUB extends java.security.PublicKey,PRV extends java.security.PrivateKey> extends AbstractIdentityResourceLoader<PUB,PRV> implements KeyEntryResolver<PUB,PRV>
log
Modifier | Constructor and Description |
---|---|
protected |
AbstractKeyEntryResolver(java.lang.Class<PUB> pubType,
java.lang.Class<PRV> prvType,
java.util.Collection<java.lang.String> names) |
Modifier and Type | Method and Description |
---|---|
PRV |
generatePrivateKey(java.security.spec.KeySpec keySpec) |
PUB |
generatePublicKey(java.security.spec.KeySpec keySpec) |
java.lang.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(java.security.spec.KeySpec keySpec) throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
public PRV generatePrivateKey(java.security.spec.KeySpec keySpec) throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
public java.lang.String toString()
toString
in class java.lang.Object