Module io.github.mmm.crypto
Class AsymmetricKeyPairFactoryGeneric
- java.lang.Object
-
- io.github.mmm.crypto.asymmetric.key.generic.AsymmetricKeyPairFactoryGeneric
-
- All Implemented Interfaces:
AsymmetricKeyPairFactorySimple<PrivateKey,PublicKey,AsymmetricKeyPairGeneric>
public class AsymmetricKeyPairFactoryGeneric extends Object implements AsymmetricKeyPairFactorySimple<PrivateKey,PublicKey,AsymmetricKeyPairGeneric>
Implementation ofAsymmetricKeyPairFactorySimpleforAsymmetricKeyPairGeneric.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description AsymmetricKeyPairFactoryGeneric()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AsymmetricKeyPairGenericcreateKeyPair(PrivateKey privateKey, PublicKey publicKey)static AsymmetricKeyPairFactoryGenericget()
-
-
-
Method Detail
-
createKeyPair
public AsymmetricKeyPairGeneric createKeyPair(PrivateKey privateKey, PublicKey publicKey)
- Specified by:
createKeyPairin interfaceAsymmetricKeyPairFactorySimple<PrivateKey,PublicKey,AsymmetricKeyPairGeneric>- Parameters:
privateKey- thePrivateKey.publicKey- the correspondingPublicKey.- Returns:
- the
AsymmetricKeyPair.
-
get
public static final AsymmetricKeyPairFactoryGeneric get()
- Returns:
- the singleton instance.
-
-