Package com.hierynomus.sshj.signature
Class Ed25519PublicKey
- java.lang.Object
-
- net.i2p.crypto.eddsa.EdDSAPublicKey
-
- com.hierynomus.sshj.signature.Ed25519PublicKey
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Key
,java.security.PublicKey
,net.i2p.crypto.eddsa.EdDSAKey
public class Ed25519PublicKey extends net.i2p.crypto.eddsa.EdDSAPublicKey
Our own extension of the EdDSAPublicKey that comes from ECC-25519, as that class does not implement equality. The code uses the equality of the keys as an indicator whether they're the same during host key verification.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Ed25519PublicKey(net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec spec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
-