ErxSignature

public struct ErxSignature : Hashable, Codable

Data Model that holds all relevant informations from a ModelsR4.Bundle signature

A Signature holds an electronic representation of a signature and its supporting context in a FHIR accessible form. The signature may either be a cryptographic type (XML DigSig or a JWS), which is able to provide non-repudiation proof, or it may be a graphical image that represents a signature or a signature process.

  • When the signature was created

    Declaration

    Swift

    public let when: String
  • The technical format of the signature (for example: application/pkcs7-mime)

    Declaration

    Swift

    public let sigFormat: String?
  • The actual signature content (XML DigSig. JWS, picture, etc.)

    Declaration

    Swift

    public let data: String?
  • Default initializer to instantiate an ErxSignature.

    Declaration

    Swift

    public init(
        when: String,
        sigFormat: String? = nil,
        data: String? = nil
    )