Authentication

public struct Authentication

These builders represent the commands in gemSpec_COS#14.7 Komponentenauthentisierung.

  • Declaration

    Swift

    public static func externalMutualAuthentication(_ cmdData: Data, expectResponse flag: Bool = false) throws
                    -> HealthCardCommand

    Return Value

    the external mutual authentication command

  • Use-case 14.7.4 Internal Authentication command - gemSpec_COS#14.7.4

    Declaration

    Swift

    public static func internalAuthenticate(_ token: Data) throws -> HealthCardCommand

    Parameters

    token

    data to verify by the target card (N086.200)

    Return Value

    the internal authentication command