net.i2p.crypto

## Interface KeyFactory

- All Known Implementing Classes:
    Elg2KeyFactory, X25519KeyFactory

      public interface KeyFactory

  Factory interface for generating I2P cryptographic key pairs. Implementations of this interface provide methods to create `KeyPair` objects containing public and private keys for various cryptographic algorithms supported by I2P.

  This abstraction allows for different key generation strategies while maintaining a consistent API across the I2P cryptographic framework.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `KeyPair` | `getKeys()`

- - ### Method Detail

    - #### getKeys

          KeyPair getKeys()