Functions

The following functions are available globally.

  • Performs RSA Key lookup in JSON Web Key Set

    Declaration

    Swift

    public func rsaJwk(jwks: Jwks, kid: String) -> JwkContent?

    Parameters

    jwks

    JSON Web Key Set to do the lookup

    kid

    the key identifier in the header of the JSON Web Token

    Return Value

    the RSA JSON Web Key or nil if not found.