@Test void zeroSecretKeyGivesPointAtInfinity() { MikuliPublicKey pubKey = new MikuliPublicKey(new MikuliSecretKey(new Scalar(new BIG(0)))); assertTrue(pubKey.g1Point().ecpPoint().is_infinity()); }
public G1Point g1Point() { return point.get(); }
MikuliPublicKey implements PublicKey { public G1Point g1Point() { return point.get(); } }
MikuliPublicKey implements PublicKey { public G1Point g1Point() { return point.get(); } MikuliPublicKey(MikuliSecretKey secretKey);  MikuliPublicKey(G1Point point);  MikuliPublicKey(Bytes rawData); }
MikuliPublicKey implements PublicKey { public G1Point g1Point() { return point.get(); } MikuliPublicKey(MikuliSecretKey secretKey);  MikuliPublicKey(G1Point point);  MikuliPublicKey(Bytes rawData); static MikuliPublicKey random(final SecureRandom srng); static MikuliPublicKey random(int entropy); static MikuliPublicKey aggregate(List<MikuliPublicKey> keys); static MikuliPublicKey fromBytesCompressed(byte[] bytes); static MikuliPublicKey fromBytesCompressed(Bytes bytes); MikuliPublicKey combine(MikuliPublicKey pk); @Override Bytes48 toBytesCompressed(); G1Point g1Point(); @Override void forceValidation(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
MikuliPublicKey implements PublicKey { public G1Point g1Point() { return point.get(); } MikuliPublicKey(MikuliSecretKey secretKey);  MikuliPublicKey(G1Point point);  MikuliPublicKey(Bytes rawData); static MikuliPublicKey random(final SecureRandom srng); static MikuliPublicKey random(int entropy); static MikuliPublicKey aggregate(List<MikuliPublicKey> keys); static MikuliPublicKey fromBytesCompressed(byte[] bytes); static MikuliPublicKey fromBytesCompressed(Bytes bytes); MikuliPublicKey combine(MikuliPublicKey pk); @Override Bytes48 toBytesCompressed(); G1Point g1Point(); @Override void forceValidation(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }