Structure
JWK.KeyType
Supported
kty key types.struct KeyType
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 Aliases
typealias RawValueThe raw type that can be used to represent all values of the conforming type.
Type Properties
static let ecdsa: JWK.KeyTypeECDSAstatic let octetKeyPair: JWK.KeyTypeOctet Key Pairstatic let rsa: JWK.KeyTypeRSA
Relationships
Conforms To
Swift.DecodableSwift.EncodableSwift.EquatableSwift.RawRepresentableSwift.SendableSwift.SendableMetatype