Class KeyPair


  • public final class KeyPair
    extends Object
    Private and public key
    • Field Detail

      • private_key

        public final net.i2p.crypto.eddsa.EdDSAPrivateKey private_key
      • public_key

        public final net.i2p.crypto.eddsa.EdDSAPublicKey public_key
      • ed25519

        public static final net.i2p.crypto.eddsa.spec.EdDSANamedCurveSpec ed25519
    • Constructor Detail

      • KeyPair

        public KeyPair()
      • KeyPair

        public KeyPair​(byte[] b)
      • KeyPair

        public KeyPair​(String hex)
    • Method Detail

      • toBytes

        public byte[] toBytes()
      • toHex

        public String toHex()