RPConsentSignature
Class representing a signature in a consent document
Signatures can be collected during a RPConsentReviewStep.
The signature object has no concept of a cryptographic signature – it is merely a record of any input the user made during a consent review step. Also, the object does not verify or vouch for user identity.
- Inheritance
-
- Object
- Serializable
- RPConsentSignature
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
RPConsentSignature.fromJson
RPConsentSignature
The default constructor. Returns a signature where both the name and the signature image is required
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
identifier
Unique identifier of the signature. This identifies the signature in the result hierarchy.
In a result object of a task which collects signature the identifier of the RPConsentSignatureResult object on the deepest level is identical to this identifier.
requiresName
The parameter to decide if the signature requires name.
If set to true it requires an entered name.
requiresSignatureImage
The parameter to decide if the signature requires a signature image.
If set to true the participant has to draw their signature which will be saved as a picture later.
title
The title of the consent signature page
Methods
toJson
Return a JSON encoding of this object.