Structure
JWK.Curve
struct Curve
Topics
Initializers
init(from: any Decoder) throwsCreates a new instance by decoding from the given decoder.init?(rawValue: String)Creates a new instance with the specified raw value.
Instance Properties
var rawValue: StringThe corresponding value of the raw type.
Instance Methods
func encode(to: any Encoder) throwsEncodes this value into the given encoder.
Type Methods
static func ecdsa(ECDSACurve) -> JWK.CurveRepresents an ECDSA curve.static func eddsa(EdDSACurve) -> JWK.CurveRepresents an EdDSA curve.
Relationships
Conforms To
Swift.DecodableSwift.EncodableSwift.EquatableSwift.RawRepresentableSwift.SendableSwift.SendableMetatype