Skip to content

ECCurve Enum ​

Enumerates supported named elliptic curves for ECDsa-based signing operations.

Namespace: JASE.Crypto
Assembly: JASE.Crypto.dll

Underlying Type int

Fields ​

NameValueDescription
P2560NIST P-256 curve (secp256r1): Commonly used for code signing and general-purpose digital signature. Sufficient for most needs but less future-proof JavaScript named curve 'P-256'
P3841NIST P-384 curve (secp384r1): Balanced security/performance, widely supported JavaScript named curve 'P-384'
P5212NIST P-521 curve (secp521r1): High-security insurance code signing, regulatory compliance (e.g., HIPAA), future-proofing JavaScript named curve 'P-521'

Remarks ​

These map directly to standard NIST curves and are commonly used for digital signatures, including in TLS, JWTs, and code signing. JavaScript equivalents (e.g., Web Crypto API) are included for cross-platform compatibility.