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, verifySignature
public byte[] encodeSignature(byte[] signature) throws IOException
encodeSignature
in class KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>
IOException
public byte[] decodeSignature(byte[] encodedSignature) throws IOException
decodeSignature
in class KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>
IOException
public byte[] encodePublicKey(net.i2p.crypto.eddsa.EdDSAPublicKey publicKey) throws IOException
encodePublicKey
in class KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>
IOException
public net.i2p.crypto.eddsa.EdDSAPublicKey decodePublicKey(byte[] encodedPublicKey) throws IOException
decodePublicKey
in class KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>
IOException
public List<CertificateDecoder> getCertificateDecoders()
getCertificateDecoders
in class KeyAlgorithm<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>
Copyright © 2020. All rights reserved.