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 Modifier Constructor Description protectedED25519KeyAlgorithm() -
Method Summary
Modifier and Type Method Description net.i2p.crypto.eddsa.EdDSAPublicKeydecodePublicKey(byte[] encodedPublicKey)byte[]decodeSignature(byte[] encodedSignature)byte[]encodePublicKey(net.i2p.crypto.eddsa.EdDSAPublicKey publicKey)byte[]encodeSignature(byte[] signature)List<CertificateDecoder>getCertificateDecoders()Methods inherited from class com.trilead.ssh2.signature.KeyAlgorithm
generateSignature, getKeyFormat, supportsKey, verifySignature
-
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>
-