EllipticCurveType
public enum EllipticCurveType : String
EllipticCurveType enum defines the two curves supported.
-
A R1 curve type
Declaration
Swift
case r1 = "R1" -
A K1 curve type
Declaration
Swift
case k1 = "K1" -
Init an EllipticCurveType
Throws
If the provided curve is not supported (i.e., is neither an R1 or K1 key).Declaration
Swift
public init(_ curve: String) throwsParameters
curveA String defining the curve type of the enum.
View on GitHub
EllipticCurveType Enumeration Reference