EdDsaKeyGenerator implements KeyGenerator { @Override public EdKeyAnalyzer getKeyAnalyzer() { return analyzer; } EdDsaKeyGenerator(SchemeProvider schemeProvider); @Override EdKeyAnalyzer getKeyAnalyzer(); @Override KeyPair generateKeyPair(); @Override KeyPair generateKeyPair(PrivateKey privateKey); @Override PublicKey derivePublicKey(PrivateKey privateKey);  }
@Test public void success_GetKeyAnalyzer_Curve25519() { KeyGenerator generator = new Edwards().getKeyGenerator(); EdKeyAnalyzer analyzer = generator.getKeyAnalyzer(); assertNotNull(analyzer); }
@Test public void success_GetKeyAnalyzer_Curve448() { SchemeProvider schemeProvider = new Ed448SchemeProvider(HashAlgorithm.SHAKE_256); KeyGenerator generator = new Edwards(schemeProvider).getKeyGenerator(); EdKeyAnalyzer analyzer = generator.getKeyAnalyzer(); assertNotNull(analyzer); }