@Test
public void createPrimitive() throws Exception {

  Ed25519PrivateKey privateKey = factory.createKey(Ed25519KeyFormat.getDefaultInstance());
  PublicKeySign signer = manager.getPrimitive(privateKey, PublicKeySign.class);
  PublicKeyVerify verifier =
      new Ed25519Verify(privateKey.getPublicKey().getKeyValue().toByteArray());
  byte[] message = Random.randBytes(135);
  verifier.verify(signer.sign(message), message);
}