Structure
JWK.Algorithm
Supported
alg algorithmsstruct Algorithm
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 eddsa: JWK.AlgorithmEdDSAstatic let es256: JWK.AlgorithmEC with SHA256static let es384: JWK.AlgorithmEC with SHA384static let es512: JWK.AlgorithmEC with SHA512static let ps256: JWK.AlgorithmRSA-PSS with SHA256static let ps384: JWK.AlgorithmRSA-PSS with SHA384static let ps512: JWK.AlgorithmRSA-PSS with SHA512static let rs256: JWK.AlgorithmRSA with SHA256static let rs384: JWK.AlgorithmRSA with SHA384static let rs512: JWK.AlgorithmRSA with SHA512static let rsaOAEP: JWK.AlgorithmRSA with OAEP
Relationships
Conforms To
Swift.DecodableSwift.EncodableSwift.EquatableSwift.RawRepresentableSwift.SendableSwift.SendableMetatype