Class KeyPair

  • Direct Known Subclasses:
    Elg2KeyPair

    public class KeyPair
    extends Object
    Same as java.security.KeyPair, but with I2P keys
    Since:
    0.9.38
    • Constructor Detail

      • KeyPair

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