Package net.i2p.crypto
Class KeyPair
java.lang.Object
net.i2p.crypto.KeyPair
- Direct Known Subclasses:
Elg2KeyPair
public class KeyPair extends Object
Same as java.security.KeyPair, but with I2P keys
- Since:
- 0.9.38
-
Constructor Summary
Constructors Constructor Description KeyPair(PublicKey publicKey, PrivateKey privateKey) -
Method Summary
Modifier and Type Method Description PrivateKeygetPrivate()PublicKeygetPublic()
-
Constructor Details
-
KeyPair
- Parameters:
publicKey- non-null, same EncType as privateKeyprivateKey- non-null, same EncType as publicKey
-
-
Method Details