@Test public void testCreate() throws Exception { final AergoKeyGenerator generator = new AergoKeyGenerator(); final AergoKey key = generator.create(); assertNotNull(key.getPrivateKey()); assertNotNull(key.getPublicKey()); assertNotNull(key.getAddress()); }
@Override public AergoKey create() { try { final ECDSAKey ecdsaKey = ecdsaKeyGenerator.create(); return new AergoKey(ecdsaKey); } catch (Exception e) { throw new HerajException(e); } }
AergoKeyGenerator implements KeyGenerator<AergoKey> { @Override public AergoKey create() { try { final ECDSAKey ecdsaKey = ecdsaKeyGenerator.create(); return new AergoKey(ecdsaKey); } catch (Exception e) { throw new HerajException(e); } } }
AergoKeyGenerator implements KeyGenerator<AergoKey> { @Override public AergoKey create() { try { final ECDSAKey ecdsaKey = ecdsaKeyGenerator.create(); return new AergoKey(ecdsaKey); } catch (Exception e) { throw new HerajException(e); } }  }
AergoKeyGenerator implements KeyGenerator<AergoKey> { @Override public AergoKey create() { try { final ECDSAKey ecdsaKey = ecdsaKeyGenerator.create(); return new AergoKey(ecdsaKey); } catch (Exception e) { throw new HerajException(e); } }  @Override AergoKey create(); AergoKey create(final String seed); }
AergoKeyGenerator implements KeyGenerator<AergoKey> { @Override public AergoKey create() { try { final ECDSAKey ecdsaKey = ecdsaKeyGenerator.create(); return new AergoKey(ecdsaKey); } catch (Exception e) { throw new HerajException(e); } }  @Override AergoKey create(); AergoKey create(final String seed);  }