public class ED25519KeyAlgorithm extends KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>
| Modifier | Constructor and Description |
|---|---|
protected |
ED25519KeyAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
net.i2p.crypto.eddsa.EdDSAPublicKey |
decodePublicKey(byte[] encodedPublicKey) |
byte[] |
decodeSignature(byte[] encodedSignature) |
byte[] |
encodePublicKey(net.i2p.crypto.eddsa.EdDSAPublicKey publicKey) |
byte[] |
encodeSignature(byte[] signature) |
List<CertificateDecoder> |
getCertificateDecoders() |
generateSignature, getKeyFormat, supportsKey, verifySignaturepublic byte[] encodeSignature(byte[] signature)
throws IOException
encodeSignature in class KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>IOExceptionpublic byte[] decodeSignature(byte[] encodedSignature)
throws IOException
decodeSignature in class KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>IOExceptionpublic byte[] encodePublicKey(net.i2p.crypto.eddsa.EdDSAPublicKey publicKey)
throws IOException
encodePublicKey in class KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>IOExceptionpublic net.i2p.crypto.eddsa.EdDSAPublicKey decodePublicKey(byte[] encodedPublicKey)
throws IOException
decodePublicKey in class KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>IOExceptionpublic List<CertificateDecoder> getCertificateDecoders()
getCertificateDecoders in class KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>Copyright © 2018. All rights reserved.