Module io.github.mmm.crypto
Interface AsymmetricKeyPairFactorySimple<PR extends PrivateKey,PU extends PublicKey,PAIR extends AsymmetricKeyPair<PR,PU>>
-
- Type Parameters:
PR
- type ofPrivateKey
.PU
- type ofPublicKey
.PAIR
- type ofAsymmetricKeyPair
.
- All Known Subinterfaces:
AsymmetricKeyCreator<PR,PU,PAIR>
,AsymmetricKeyPairFactory<PR,PU,PAIR>
- All Known Implementing Classes:
AbstractAsymmetricKeyCreator
,AbstractAsymmetricKeyPairFactory
,AsymmetricKeyCreatorEcBc
,AsymmetricKeyCreatorImpl
,AsymmetricKeyCreatorRsa
,AsymmetricKeyPairFactoryEcBc
,AsymmetricKeyPairFactoryEcBcCompact
,AsymmetricKeyPairFactoryEcBcUncompressed
,AsymmetricKeyPairFactoryEcJce
,AsymmetricKeyPairFactoryEncoded
,AsymmetricKeyPairFactoryGeneric
,AsymmetricKeyPairFactoryRsaCompact
public interface AsymmetricKeyPairFactorySimple<PR extends PrivateKey,PU extends PublicKey,PAIR extends AsymmetricKeyPair<PR,PU>>
Interface for factory to create instances ofAsymmetricKeyPair
fromPrivateKey
andPublicKey
. It only provides low-level wrapping functionality. For higher level usage seeAsymmetricKeyCreator
.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PAIR
createKeyPair(PR privateKey, PU publicKey)
-
-
-
Method Detail
-
createKeyPair
PAIR createKeyPair(PR privateKey, PU publicKey)
- Parameters:
privateKey
- thePrivateKey
.publicKey
- the correspondingPublicKey
.- Returns:
- the
AsymmetricKeyPair
.
-
-