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
passwordThe password object to change/update
dfSpecificwhether or not the password object specifies a Global or DF-specific. true = DF-Specific, false = global
oldthe old secret (pin) to verify
newthe 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 -> HealthCardCommandParameters
parameterthe 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
passwordThe password object to change/update
dfSpecificwhether or not the password object specifies a Global or DF-specific. true = DF-Specific, false = global
pinthe 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) -> HealthCardCommandParameters
parameterthe arguments for the password set command
Return Value
Command for a set password secret command