ChangeReferenceData

public struct ChangeReferenceData

Command representing Change/Set Reference Data Command gemSpec_COS#14.6.1

  • Change password command parameters

    Declaration

    Swift

    public typealias ChangePasswordParameter = (password: Password, dfSpecific: Bool, old: Format2Pin, new: Format2Pin)

    Parameters

    password

    The password object to change/update

    dfSpecific

    whether or not the password object specifies a Global or DF-specific. true = DF-Specific, false = global

    old

    the old secret (pin) to verify

    new

    the new secret (pin) to set

  • Use case Change Password Secret (Pin) gemSpec_COS#14.6.1.1

    Declaration

    Swift

    public static func change(password parameter: ChangePasswordParameter) throws -> HealthCardCommand

    Parameters

    parameter

    the arguments for the password change command

    Return Value

    Command for a change password secret command

  • Set password command parameters

    Declaration

    Swift

    public typealias SetPasswordParameter = (password: Password, dfSpecific: Bool, pin: Format2Pin)

    Parameters

    password

    The password object to change/update

    dfSpecific

    whether or not the password object specifies a Global or DF-specific. true = DF-Specific, false = global

    pin

    the secret (pin) to set

  • Use case Set Password Secret (Pin) gemSpec_COS#14.6.1.2

    Declaration

    Swift

    public static func set(password parameter: SetPasswordParameter) -> HealthCardCommand

    Parameters

    parameter

    the arguments for the password set command

    Return Value

    Command for a set password secret command