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
init(from:)Creates a new instance by decoding from the given decoder.init(rawValue:)Creates a new instance with the specified raw value.
Instance Properties
rawValueTextual representation of the elliptic curve.
Instance Methods
encode(to:)Encodes this value into the given encoder.
Type Properties
Relationships
Conforms To
Swift.CopyableSwift.DecodableSwift.EncodableSwift.EquatableSwift.EscapableSwift.RawRepresentableSwift.SendableSwift.SendableMetatype