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 Details

    • KeyPair

      public KeyPair(PublicKey publicKey, PrivateKey privateKey)
      Parameters:
      publicKey - non-null, same EncType as privateKey
      privateKey - non-null, same EncType as publicKey
  • Method Details