UserKeySigningParameters

public struct UserKeySigningParameters

A struct representing the parameters for signing a JWS with a previously bound user key.

  • The signing algorithm.

    Declaration

    Swift

    public let algorithm: SecKeyAlgorithm
  • The user key to use for signing.

    Declaration

    Swift

    public let userKey: UserKey
  • The private key to use for signing.

    Declaration

    Swift

    public let privateKey: SecKey
  • The public key to use for signing.

    Declaration

    Swift

    public let publicKey: SecKey
  • The challenge to sign.

    Declaration

    Swift

    public let challenge: String
  • The issue time of the JWT.

    Declaration

    Swift

    public let issueTime: Date
  • The not-before time of the JWT.

    Declaration

    Swift

    public let notBeforeTime: Date
  • The expiration time of the JWT.

    Declaration

    Swift

    public let expiration: Date
  • The custom claims to include in the JWT.

    Declaration

    Swift

    public let customClaims: [String : Any]