@Test public void failure_IsKeyCompressed_Curve448() { EdKeyAnalyzer analyzer = new EdKeyAnalyzer(Curve448.getInstance()); boolean isCompressed = analyzer.isKeyCompressed(PublicKey.fromHexString( "5fd7449b59b461fd2ce787ec616ad46a" + "1da1342485a70e1f8a0ea75d80e96778" + "edf124769b46c7061bd6783df1e50f6c" + "d1fa1abeafe82561")); assertThat(isCompressed, is(false)); }
public boolean isKeyCompressed(PublicKey publicKey) { return publicKey.getRaw().length == curve.getPublicKeyByteLength(); }
EdKeyAnalyzer { public boolean isKeyCompressed(PublicKey publicKey) { return publicKey.getRaw().length == curve.getPublicKeyByteLength(); } }
EdKeyAnalyzer { public boolean isKeyCompressed(PublicKey publicKey) { return publicKey.getRaw().length == curve.getPublicKeyByteLength(); } EdKeyAnalyzer(Curve curve); }
EdKeyAnalyzer { public boolean isKeyCompressed(PublicKey publicKey) { return publicKey.getRaw().length == curve.getPublicKeyByteLength(); } EdKeyAnalyzer(Curve curve); boolean isKeyCompressed(PublicKey publicKey); }
EdKeyAnalyzer { public boolean isKeyCompressed(PublicKey publicKey) { return publicKey.getRaw().length == curve.getPublicKeyByteLength(); } EdKeyAnalyzer(Curve curve); boolean isKeyCompressed(PublicKey publicKey);  }