public final class SHA512WithPureEdDSASignature 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 |
|---|
SHA512WithPureEdDSASignature()
Constructs a new signature instance.
|
| 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) |
clone, engineSign, engineVerifypublic SHA512WithPureEdDSASignature()
protected void engineInitSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException
InvalidKeyExceptionprotected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
InvalidKeyExceptionprotected void engineUpdate(byte[] b,
int off,
int len)
throws SignatureException
engineUpdate in class SignatureSpiSignatureExceptionprotected void engineUpdate(byte b)
throws SignatureException
engineUpdate in class SignatureSpiSignatureExceptionprotected void engineUpdate(ByteBuffer byteBuffer)
engineUpdate in class SignatureSpiprotected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException
engineInitSign in class SignatureSpiInvalidKeyExceptionprotected byte[] engineSign()
throws SignatureException
engineSign in class SignatureSpiSignatureExceptionprotected boolean engineVerify(byte[] sigBytes)
throws SignatureException
engineVerify in class SignatureSpiSignatureException@Deprecated protected void engineSetParameter(String param, Object value) throws InvalidParameterException
engineSetParameter in class SignatureSpiInvalidParameterException@Deprecated protected Object engineGetParameter(String param) throws InvalidParameterException
engineGetParameter in class SignatureSpiInvalidParameterExceptionprotected AlgorithmParameters engineGetParameters()
engineGetParameters in class SignatureSpiprotected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException
engineSetParameter in class SignatureSpiInvalidAlgorithmParameterExceptionCopyright © 2011–2022 Stiftung SIC. All rights reserved.