Package com.trilead.ssh2.signature
Class ED25519KeyAlgorithm
java.lang.Object
com.trilead.ssh2.signature.KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>
com.trilead.ssh2.signature.ED25519KeyAlgorithm
public class ED25519KeyAlgorithm
extends KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>
- Author:
- Michael Clarke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.i2p.crypto.eddsa.EdDSAPublicKey
decodePublicKey
(byte[] encodedPublicKey) byte[]
decodeSignature
(byte[] encodedSignature) byte[]
encodePublicKey
(net.i2p.crypto.eddsa.EdDSAPublicKey publicKey) byte[]
encodeSignature
(byte[] signature) Methods inherited from class com.trilead.ssh2.signature.KeyAlgorithm
generateSignature, getKeyFormat, supportsKey, verifySignature
-
Constructor Details
-
ED25519KeyAlgorithm
protected ED25519KeyAlgorithm()
-
-
Method Details
-
encodeSignature
- Specified by:
encodeSignature
in classKeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,
net.i2p.crypto.eddsa.EdDSAPrivateKey> - Throws:
IOException
-
decodeSignature
- Specified by:
decodeSignature
in classKeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,
net.i2p.crypto.eddsa.EdDSAPrivateKey> - Throws:
IOException
-
encodePublicKey
- Specified by:
encodePublicKey
in classKeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,
net.i2p.crypto.eddsa.EdDSAPrivateKey> - Throws:
IOException
-
decodePublicKey
public net.i2p.crypto.eddsa.EdDSAPublicKey decodePublicKey(byte[] encodedPublicKey) throws IOException - Specified by:
decodePublicKey
in classKeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,
net.i2p.crypto.eddsa.EdDSAPrivateKey> - Throws:
IOException
-
getCertificateDecoders
- Specified by:
getCertificateDecoders
in classKeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,
net.i2p.crypto.eddsa.EdDSAPrivateKey>
-