Package com.hierynomus.sshj.signature
Class Ed25519PublicKey
java.lang.Object
net.i2p.crypto.eddsa.EdDSAPublicKey
com.hierynomus.sshj.signature.Ed25519PublicKey
- All Implemented Interfaces:
Serializable
,Key
,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:
-
Field Summary
Fields inherited from interface net.i2p.crypto.eddsa.EdDSAKey
KEY_ALGORITHM
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.i2p.crypto.eddsa.EdDSAPublicKey
getA, getAbyte, getAlgorithm, getEncoded, getFormat, getNegativeA, getParams
-
Constructor Details
-
Ed25519PublicKey
public Ed25519PublicKey(net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec spec)
-
-
Method Details
-
equals
- Overrides:
equals
in classnet.i2p.crypto.eddsa.EdDSAPublicKey
-
hashCode
public int hashCode()- Overrides:
hashCode
in classnet.i2p.crypto.eddsa.EdDSAPublicKey
-