Signature class

The elements of the Signature Resource are for ease of access of these elements. For digital signatures (Xml DigSig, JWS), the non-repudiation proof comes from the Signature validation, which includes validation of the referenced objects (e.g. Resources) (a.k.a., Content) in the XML-Signature Detached form. Base StructureDefinition for Signature Type: A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities. There are a number of places where content must be signed in healthcare.

Inheritance
Implemented types

Constructors

Signature.new({String? data, List<Extension>? fhirExtension, String? id, Reference? onBehalfOf, String? sigFormat, String? targetFormat, required List<Coding> type, required String when, required Reference who})
Signature.fromJson(Map<String, dynamic> json)
factory

Properties

data String?
The actual signature content (XML DigSig. JWS, picture, etc.) The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty. Where the signature type is an XML DigSig, the signed content is a FHIR Resource(s), the signature is of the XML form of the Resource(s) using XML-Signature (XMLDIG) "Detached Signature" form.
final
fhirExtension List<Extension>?
Additional content defined by implementations May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
Unique id for inter-element referencing Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
finalinherited
onBehalfOf Reference?
The party represented A reference to an application-usable description of the identity that is represented by the signature. The party that can't sign. For example a child.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sigFormat String?
The technical format of the signature A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc.
final
targetFormat String?
The technical format of the signed resources A mime type that indicates the technical format of the target resources signed by the signature. "xml", "json" and "ttl" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here.
final
type List<Coding>
Indication of the reason the entity signed the object(s) An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document. Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a "Commitment Type Indication".
final
when String
When the signature was created When the digital signature was signed. This should agree with the information in the signature.
final
who Reference
Who signed A reference to an application-usable description of the identity that signed (e.g. the signature used their private key). This should agree with the information in the signature.
final

Methods

copyWith({String? data, List<Extension>? fhirExtension, String? id, Reference? onBehalfOf, String? sigFormat, String? targetFormat, List<Coding>? type, String? when, Reference? who}) Signature
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited