JwksUrlData

class JwksUrlData : Equatable

Represents the data obtained from the jwks url.

  • identifies the cryptographic algorithm used to secure the json web signature

    Declaration

    Swift

    let algorithm: String
  • exponent of RSA public key

    Declaration

    Swift

    let exponent: String
  • key identifier

    Declaration

    Swift

    let keyId: String
  • key type

    Declaration

    Swift

    let keyType: String
  • modulus of RSA public key

    Declaration

    Swift

    let modulus: String
  • key usage description

    Declaration

    Swift

    let usage: String
  • Initialises JwksUrlData object

    Declaration

    Swift

    init(algorithm: String = "", exponent: String = "", keyId: String = "", keyType: String = "", modulus: String = "", usage: String = "")

    Parameters

    algorithm

    algorithm used for the signing process

    exponent

    exponent of RSA public key

    keyId

    key identifier

    keyType

    key type

    modulus

    modulus of RSA public key

    usage

    key usage description

  • Implementation of the Equatable protocol, to be able to compare [JwksUrlData] objects.

    Declaration

    Swift

    static func == (lhs: JwksUrlData, rhs: JwksUrlData) -> Bool

    Parameters

    lhs

    first object

    rhs

    second object

    Return Value

    Boolean value, true if the objects are equal, false otherwise.