Class Signature
A digital signature along with supporting context. The signature may be electronic/cryptographic in nature, or a graphical image representing a hand-written signature, or a signature process. Different Signature approaches have different utilities.
Implements
Inherited Members
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class Signature : Element, IFhirJsonSerializable
Properties
| Improve this Doc View Source_ContentType
Extension container element for ContentType
Declaration
public Element _ContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_When
Extension container element for When
Declaration
public Element _When { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_WhoUri
Extension container element for WhoUri
Declaration
public Element _WhoUri { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
Blob
The base64 encoding of the Signature content.
Declaration
public byte[] Blob { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Byte[] |
ContentType
A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jwt for JWT, and image/* for a graphical image of a signature.
Declaration
public string ContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Type
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.
Declaration
public List<Coding> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<Coding> |
When
When the digital signature was signed.
Declaration
public string When { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
WhoReference
A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key).
Declaration
public Reference WhoReference { get; set; }
Property Value
| Type | Description |
|---|---|
| Reference |
WhoUri
A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key).
Declaration
public string WhoUri { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceDeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)
Deserialize a JSON object
Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| Utf8JsonReader | reader | |
| JsonSerializerOptions | options |
DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)
Deserialize a JSON property
Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
| Type | Name | Description |
|---|---|---|
| Utf8JsonReader | reader | |
| JsonSerializerOptions | options | |
| System.String | propertyName |
SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)
Serialize to a JSON object
Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
| Type | Name | Description |
|---|---|---|
| Utf8JsonWriter | writer | |
| JsonSerializerOptions | options | |
| System.Boolean | includeStartObject |