public final class SHA512WithPlainECDSASignature extends SignatureSpi
SEQUENCE as done by [2]. If the hash
length is larger than the domain parameter length the hash is not truncated
like in [2]; rather it is reduced modulo the order of the base point.
Note that instances of this class can only be initialized with keys of size greater than 512 bits.
References: [1] Bundesamt fuer Sicherheit in der Informationstechnik (BSI), "Technical Guideline TR-03111 - Elliptic Curve Cryptography" , Version 1.11, April 2009.
[2] 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,
SHA512WithECDSASignature,
RipeMD160WithECDSASignature,
WhirlpoolWithECDSASignature,
NONEWithPlainECDSASignature,
SHAWithPlainECDSASignature,
SHA224WithPlainECDSASignature,
SHA256WithPlainECDSASignature,
SHA384WithPlainECDSASignature,
RipeMD160WithPlainECDSASignature,
WhirlpoolWithPlainECDSASignatureappRandom| Constructor and Description |
|---|
SHA512WithPlainECDSASignature()
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, engineVerifypublic SHA512WithPlainECDSASignature()
protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
engineInitVerify in class SignatureSpiInvalidKeyExceptionprotected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException
engineInitSign in class SignatureSpiInvalidKeyExceptionprotected void engineInitSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException
engineInitSign in class SignatureSpiInvalidKeyExceptionprotected void engineUpdate(byte b)
throws SignatureException
engineUpdate in class SignatureSpiSignatureExceptionprotected void engineUpdate(byte[] b,
int off,
int len)
throws SignatureException
engineUpdate in class SignatureSpiSignatureExceptionprotected void engineUpdate(ByteBuffer byteBuffer)
engineUpdate in class SignatureSpiprotected 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 UnsupportedOperationException
engineSetParameter in class SignatureSpiUnsupportedOperationException@Deprecated protected Object engineGetParameter(String param) throws UnsupportedOperationException
engineGetParameter in class SignatureSpiUnsupportedOperationExceptionprotected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException
engineSetParameter in class SignatureSpiInvalidAlgorithmParameterExceptionCopyright © 2011–2022 Stiftung SIC. All rights reserved.