public final class SHA3_256WithECDSASignature extends SignatureSpi
Note that instances of this class can only be initialized with keys of size greater than 256 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_384WithECDSASignature,
SHA3_512WithECDSASignature,
SHAWithECDSASignature,
SHA256WithECDSASignature,
SHA384WithECDSASignature,
SHA512WithECDSASignature,
RipeMD160WithECDSASignature,
WhirlpoolWithECDSASignature,
NONEWithPlainECDSASignature,
SHAWithPlainECDSASignature,
SHA224WithPlainECDSASignature,
SHA256WithPlainECDSASignature,
SHA384WithPlainECDSASignature,
SHA512WithPlainECDSASignature,
RipeMD160WithPlainECDSASignature,
WhirlpoolWithPlainECDSASignatureappRandom| Constructor and Description |
|---|
SHA3_256WithECDSASignature()
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 SHA3_256WithECDSASignature()
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.