public class Ed25519KeyGenerator extends java.lang.Object implements KeyGenerator
| Constructor and Description |
|---|
Ed25519KeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
derivePublicKey(PrivateKey privateKey)
Derives a public key from a private key.
|
KeyPair |
generateKeyPair()
Creates a random key pair.
|
public KeyPair generateKeyPair()
KeyGeneratorgenerateKeyPair in interface KeyGeneratorpublic PublicKey derivePublicKey(PrivateKey privateKey)
KeyGeneratorderivePublicKey in interface KeyGeneratorprivateKey - the private key.