public final class SHA512WithECDSASignature extends SignatureSpi
Note that instances of this class can only be initialized with keys of size greater than 512 bits.
References:
[1] ANSI X9.62-2005, "American National Standard for Financial Services - The Elliptic Curve Digital Signature Algorithm (ECDSA)", ASC X9, November 2005.
NONEWithECDSASignature
,
SHA3_224WithECDSASignature
,
SHA3_256WithECDSASignature
,
SHA3_384WithECDSASignature
,
SHA3_512WithECDSASignature
,
SHAWithECDSASignature
,
SHA224WithECDSASignature
,
SHA256WithECDSASignature
,
SHA384WithECDSASignature
,
RipeMD160WithECDSASignature
,
WhirlpoolWithECDSASignature
,
NONEWithPlainECDSASignature
,
SHAWithPlainECDSASignature
,
SHA224WithPlainECDSASignature
,
SHA256WithPlainECDSASignature
,
SHA384WithPlainECDSASignature
,
SHA512WithPlainECDSASignature
,
RipeMD160WithPlainECDSASignature
,
WhirlpoolWithPlainECDSASignature
appRandom
Constructor and Description |
---|
SHA512WithECDSASignature()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
engineGetParameter(String param)
Deprecated.
|
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, engineGetParameters, engineSign, engineVerify
public SHA512WithECDSASignature()
protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
engineInitVerify
in class SignatureSpi
InvalidKeyException
protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException
engineInitSign
in class SignatureSpi
InvalidKeyException
protected void engineInitSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException
engineInitSign
in class SignatureSpi
InvalidKeyException
protected void engineUpdate(byte b) throws SignatureException
engineUpdate
in class SignatureSpi
SignatureException
protected void engineUpdate(byte[] b, int off, int len) throws SignatureException
engineUpdate
in class SignatureSpi
SignatureException
protected void engineUpdate(ByteBuffer byteBuffer)
engineUpdate
in class SignatureSpi
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 UnsupportedOperationException
engineSetParameter
in class SignatureSpi
UnsupportedOperationException
@Deprecated protected Object engineGetParameter(String param) throws UnsupportedOperationException
engineGetParameter
in class SignatureSpi
UnsupportedOperationException
protected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException
engineSetParameter
in class SignatureSpi
InvalidAlgorithmParameterException
Copyright © 2011–2022 Stiftung SIC. All rights reserved.