Class EcdsaAlgorithm


public final class EcdsaAlgorithm extends AbstractCryptoAlgorithm

Elliptic Curve Digital Signature Algorithm (ECDSA)

Implementation of the ECDSA digital signature scheme within the ZeroEcho cryptographic framework. This algorithm supports signing and verification using elliptic curve keys defined by EcdsaCurveSpec.

Roles

Key builders

Provider model

This implementation leverages the Java Cryptography Architecture (JCA) with algorithm identifiers supplied by EcdsaCurveSpec.jcaFactory(). The GenericJcaSignatureContext is used internally to provide streaming-friendly signing and verification with strict enforcement of fixed-length signatures.

Default configuration

If no curve specification is explicitly provided, the default is EcdsaCurveSpec.P256.
// Example: Sign and verify with ECDSA/P-256
KeyPair kp = session.keyBuilders().asymmetric().generateKeyPair("ECDSA", EcdsaCurveSpec.P256);
SignatureContext signer = session.createContext("ECDSA", KeyUsage.SIGN, kp.getPrivate(), EcdsaCurveSpec.P256);
SignatureContext verifier = session.createContext("ECDSA", KeyUsage.VERIFY, kp.getPublic(), EcdsaCurveSpec.P256);
Since:
1.0