public class Ed25519PrivateKeySerializer
For serialising an ed25519 private key
Modifier and Type | Field and Description |
---|---|
static Ed25519PrivateKeySerializer |
INSTANCE
For serialising an ed25519 private key
|
Modifier and Type | Method and Description |
---|---|
net.i2p.crypto.eddsa.EdDSAPrivateKey |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
java.lang.Class<net.i2p.crypto.eddsa.EdDSAPrivateKey> type) |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
net.i2p.crypto.eddsa.EdDSAPrivateKey obj) |
public static Ed25519PrivateKeySerializer INSTANCE
For serialising an ed25519 private key
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, net.i2p.crypto.eddsa.EdDSAPrivateKey obj)
public net.i2p.crypto.eddsa.EdDSAPrivateKey read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<net.i2p.crypto.eddsa.EdDSAPrivateKey> type)