public final class SHAKE256WithPureEdDSASignature extends SignatureSpi
References:
[1] Daniel J. Bernstein, Niels Duif, Tanja Lange, Peter Schwabe, and Bo-Yin Yang, "High-speed high-security signatures", 2011.
[2] S. Josefsson, I. Liusvaara, "Edwards-curve Digital Signature Algorithm (EdDSA)", https://tools.ietf.org/html/rfc8032
appRandom
Constructor and Description |
---|
SHAKE256WithPureEdDSASignature()
Constructs a new instance of EdDSA with SHAKE-256.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
engineGetParameter(String param)
Deprecated.
|
protected AlgorithmParameters |
engineGetParameters() |
protected void |
engineInitSign(PrivateKey privateKey) |
protected void |
engineInitSign(PrivateKey privateKey,
SecureRandom random) |
protected void |
engineInitVerify(PublicKey publicKey) |
protected void |
engineSetParameter(AlgorithmParameterSpec params) |
protected void |
engineSetParameter(String param,
Object value)
Deprecated.
|
protected byte[] |
engineSign() |
protected void |
engineUpdate(byte b) |
protected void |
engineUpdate(byte[] b,
int off,
int len) |
protected void |
engineUpdate(ByteBuffer byteBuffer) |
protected boolean |
engineVerify(byte[] sigBytes) |
protected void |
finalize() |
clone, engineSign, engineVerify
public SHAKE256WithPureEdDSASignature()
protected void engineInitSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException
InvalidKeyException
protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
InvalidKeyException
protected void engineUpdate(byte[] b, int off, int len) throws SignatureException
engineUpdate
in class SignatureSpi
SignatureException
protected void engineUpdate(byte b) throws SignatureException
engineUpdate
in class SignatureSpi
SignatureException
protected void engineUpdate(ByteBuffer byteBuffer)
engineUpdate
in class SignatureSpi
protected void finalize() throws Throwable
protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException
engineInitSign
in class SignatureSpi
InvalidKeyException
protected byte[] engineSign() throws SignatureException
engineSign
in class SignatureSpi
SignatureException
protected boolean engineVerify(byte[] sigBytes) throws SignatureException
engineVerify
in class SignatureSpi
SignatureException
@Deprecated protected void engineSetParameter(String param, Object value) throws InvalidParameterException
engineSetParameter
in class SignatureSpi
InvalidParameterException
@Deprecated protected Object engineGetParameter(String param) throws InvalidParameterException
engineGetParameter
in class SignatureSpi
InvalidParameterException
protected AlgorithmParameters engineGetParameters()
engineGetParameters
in class SignatureSpi
protected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException
engineSetParameter
in class SignatureSpi
InvalidAlgorithmParameterException
Copyright © 2011–2022 Stiftung SIC. All rights reserved.