@Test public void testConstructorWithPrivateKeyInitializezPublicKey(){ PublicKey publicKey = new PublicKey(new PrivateKey("Test")); Assert.assertNotNull(publicKey); Assert.assertTrue(publicKey.isInitialized()); }
public boolean isInitialized() { return initialized; }
PublicKey { public boolean isInitialized() { return initialized; } }
PublicKey { public boolean isInitialized() { return initialized; } PublicKey(byte[] publicPointQEncoding);  PublicKey(PublicKey publicKey);  PublicKey(PrivateKey privateKey); }
PublicKey { public boolean isInitialized() { return initialized; } PublicKey(byte[] publicPointQEncoding);  PublicKey(PublicKey publicKey);  PublicKey(PrivateKey privateKey); byte[] getValue(); boolean isValid(); boolean isInitialized(); ECPoint getQ(); @Override String toString(); }
PublicKey { public boolean isInitialized() { return initialized; } PublicKey(byte[] publicPointQEncoding);  PublicKey(PublicKey publicKey);  PublicKey(PrivateKey privateKey); byte[] getValue(); boolean isValid(); boolean isInitialized(); ECPoint getQ(); @Override String toString();  }