Module io.github.mmm.crypto
Class AsymmetricKeyPairGeneric
- java.lang.Object
-
- io.github.mmm.crypto.asymmetric.key.AbstractAsymmetricKeyPair<PrivateKey,PublicKey>
-
- io.github.mmm.crypto.asymmetric.key.generic.AsymmetricKeyPairGeneric
-
- All Implemented Interfaces:
AsymmetricKeyPair<PrivateKey,PublicKey>
,KeySet
public class AsymmetricKeyPairGeneric extends AbstractAsymmetricKeyPair<PrivateKey,PublicKey>
A generic implementation ofAsymmetricKeyPair
.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class io.github.mmm.crypto.asymmetric.key.AbstractAsymmetricKeyPair
privateKey, publicKey
-
-
Constructor Summary
Constructors Constructor Description AsymmetricKeyPairGeneric(KeyPair keyPair)
The constructor.AsymmetricKeyPairGeneric(PrivateKey privateKey, PublicKey publicKey)
The constructor.
-
Method Summary
-
Methods inherited from class io.github.mmm.crypto.asymmetric.key.AbstractAsymmetricKeyPair
equals, getKeyPair, getPrivateKey, getPublicKey, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.mmm.crypto.asymmetric.key.AsymmetricKeyPair
getKeys
-
-
-
-
Constructor Detail
-
AsymmetricKeyPairGeneric
public AsymmetricKeyPairGeneric(PrivateKey privateKey, PublicKey publicKey)
The constructor.- Parameters:
privateKey
- theprivate key
.publicKey
- thepublic key
.
-
-