Skip to content

Structure

ECDSACurve

A struct representing an Elliptic Curve used in Elliptic Curve Digital Signature Algorithm (ECDSA).
struct ECDSACurve

Overview

ECDSACurve encapsulates the different types of elliptic curves used in cryptographic operations, particularly in signing and verifying digital signatures with ECDSA. Each instance of ECDSACurve represents a specific elliptic curve, identified by its standardized curve name.

The struct provides predefined static properties for common elliptic curves, such as P-256, P-384, P-521, and others. These are widely used curves, each offering different levels of security and performance characteristics.

The use of ECDSACurve in cryptographic operations allows for easy specification and interchange of the elliptic curves based on security requirements and application needs.

Topics

Initializers

Instance Properties

Instance Methods

Type Properties

Relationships

Conforms To

  • Swift.Copyable
  • Swift.Decodable
  • Swift.Encodable
  • Swift.Equatable
  • Swift.Escapable
  • Swift.RawRepresentable
  • Swift.Sendable
  • Swift.SendableMetatype