public class SignatureECDSA extends AbstractSignatureDSA
Modifier and Type | Class and Description |
---|---|
static class |
SignatureECDSA.NISTP256Factory
A named factory for ECDSA signatures of NIST P-256
|
static class |
SignatureECDSA.NISTP384Factory
A named factory for ECDSA signatures of NIST P-384
|
static class |
SignatureECDSA.NISTP521Factory
A named factory for ECDSA signatures of NIST P-521
|
algorithm, signature
Modifier | Constructor and Description |
---|---|
protected |
SignatureECDSA(String algo) |
Modifier and Type | Method and Description |
---|---|
static Signature |
getByCurveSize(ECParameterSpec params) |
byte[] |
sign()
Compute the signature
|
boolean |
verify(byte[] sig)
Verify against the given signature
|
extractSig, init, update
protected SignatureECDSA(String algo)
public static Signature getByCurveSize(ECParameterSpec params)
public byte[] sign() throws Exception
Signature
sign
in interface Signature
sign
in class AbstractSignatureDSA
Exception
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.