
Package org.hl7.fhir.dstu2.model
Class Signature
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.Element
org.hl7.fhir.dstu2.model.Type
org.hl7.fhir.dstu2.model.Signature
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.ICompositeType
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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Base64BinaryTypeThe base64 encoding of the Signature content.protected CodeTypeA mime type that indicates the technical format of the signature.An indication of the reason that the entity signed this document.protected InstantTypeWhen the digital signature was signed.protected TypeA reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key). -
Constructor Summary
ConstructorsConstructorDescriptionSignature(InstantType when, Type who, CodeType contentType, Base64BinaryType blob) -
Method Summary
Modifier and TypeMethodDescriptionaddType()copy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()byte[]getBlob()getType()getWhen()getWho()booleanhasBlob()booleanbooleanbooleanbooleanhasType()booleanhasWhen()booleanbooleanhasWho()booleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setBlob(byte[] value) setBlobElement(Base64BinaryType value) setContentType(String value) setContentTypeElement(CodeType value) voidsetProperty(String name, Base value) setWhenElement(InstantType value) protected SignatureMethods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementMethods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
Field Details
-
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. -
when
When the digital signature was signed. -
who
A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key). -
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. -
blob
The base64 encoding of the Signature content.
-
-
Constructor Details
-
Signature
public Signature() -
Signature
-
-
Method Details
-
getType
- Returns:
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.)
-
hasType
-
addType
- Returns:
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.)
-
addType
-
getWhenElement
- Returns:
when(When the digital signature was signed.). This is the underlying object with id, value and extensions. The accessor "getWhen" gives direct access to the value
-
hasWhenElement
-
hasWhen
-
setWhenElement
- Parameters:
value-when(When the digital signature was signed.). This is the underlying object with id, value and extensions. The accessor "getWhen" gives direct access to the value
-
getWhen
- Returns:
- When the digital signature was signed.
-
setWhen
- Parameters:
value- When the digital signature was signed.
-
getWho
- Returns:
who(A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key).)
-
getWhoUriType
- Returns:
who(A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key).)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasWhoUriType
-
getWhoReference
- Returns:
who(A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key).)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasWhoReference
-
hasWho
-
setWho
- Parameters:
value-who(A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key).)
-
getContentTypeElement
- Returns:
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.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the value
-
hasContentTypeElement
-
hasContentType
-
setContentTypeElement
- Parameters:
value-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.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the value
-
getContentType
- Returns:
- 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.
-
setContentType
- Parameters:
value- 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.
-
getBlobElement
- Returns:
blob(The base64 encoding of the Signature content.). This is the underlying object with id, value and extensions. The accessor "getBlob" gives direct access to the value
-
hasBlobElement
-
hasBlob
-
setBlobElement
- Parameters:
value-blob(The base64 encoding of the Signature content.). This is the underlying object with id, value and extensions. The accessor "getBlob" gives direct access to the value
-
getBlob
- Returns:
- The base64 encoding of the Signature content.
-
setBlob
- Parameters:
value- The base64 encoding of the Signature content.
-
listChildren
- Overrides:
listChildrenin classElement
-
setProperty
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classElement
-
equalsShallow
- Overrides:
equalsShallowin classElement
-
isEmpty
-