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>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.i2p.crypto.eddsa.EdDSAPublicKeydecodePublicKey(byte[] encodedPublicKey) byte[]decodeSignature(byte[] encodedSignature) byte[]encodePublicKey(net.i2p.crypto.eddsa.EdDSAPublicKey publicKey) byte[]encodeSignature(byte[] signature) Methods inherited from class KeyAlgorithm
generateSignature, getKeyFormat, supportsKey, verifySignature
-
Field Details
-
ED25519_KEY_NAME
- See Also:
-
ED25519_CURVE_NAME
- See Also:
-
-
Constructor Details
-
ED25519KeyAlgorithm
protected ED25519KeyAlgorithm()
-
-
Method Details
-
encodeSignature
- Specified by:
encodeSignaturein classKeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey, net.i2p.crypto.eddsa.EdDSAPrivateKey>- Throws:
IOException
-
decodeSignature
- Specified by:
decodeSignaturein classKeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey, net.i2p.crypto.eddsa.EdDSAPrivateKey>- Throws:
IOException
-
encodePublicKey
- Specified by:
encodePublicKeyin 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:
decodePublicKeyin classKeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey, net.i2p.crypto.eddsa.EdDSAPrivateKey>- Throws:
IOException
-
getCertificateDecoders
- Specified by:
getCertificateDecodersin classKeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey, net.i2p.crypto.eddsa.EdDSAPrivateKey>
-