EllipticCurve

public struct EllipticCurve: Equatable, CustomStringConvertible

An extensible list of elliptic curves supported by this repository.

  • A prime256v1 curve.

    Declaration

    Swift

    public static let prime256v1 = EllipticCurve.p256
  • A secp384r1 curve.

    Declaration

    Swift

    public static let secp384r1 = EllipticCurve.p384
  • A secp521r1 curve.

    Declaration

    Swift

    public static let secp521r1 = EllipticCurve.p521
  • Checks if two Curves are equal, required for Equatable protocol.

    Declaration

    Swift

    public static func == (lhs: EllipticCurve, rhs: EllipticCurve) -> Bool
  • A String description of the Curve. Required for CustomStringConvertible protocol.

    Declaration

    Swift

    public var description: String