SignedPairingData

public struct SignedPairingData

Signed (with eGK) version of PairingData. [REQ:gemSpec_IDP_Dienst:A_21415:Signed_Pairing_Data]

  • original

    Declaration

    Swift

    public let originalPairingData: PairingData
  • Initialize a SignedChallenge

    Declaration

    Swift

    public init(originalPairingData: PairingData, signedPairingData: JWT)

    Parameters

    originalPairingData

    unsigned PairingData that is signed within this container.

    signedChallenge

    signed PairingData as JWT representation.

  • Serialize the signedChallenge

    Declaration

    Swift

    public func serialize() -> String

    Return Value

    ASCII Encoded String

  • Initializes with a given JWT String representing the PairingData.

    Declaration

    Swift

    public init(from string: String) throws

    Parameters

    string

    String representation of JWT Container with the signed PairingData.