|
DCMTK
Version 3.6.9
OFFIS DICOM Toolkit
|
Helper class for the Digital Signature Purpose Code Sequence. More...
Public Types | |
| enum | E_SignaturePurposeType { ESP_none = 0 , ESP_AuthorsSignature = 1 , ESP_CoauthorsSignature = 2 , ESP_CoparticipantsSignature = 3 , ESP_TranscriptionistSignature = 4 , ESP_VerificationSignature = 5 , ESP_ValidationSignature = 6 , ESP_ConsentSignature = 7 , ESP_SignatureWitnessSignature = 8 , ESP_EventWitnessSignature = 9 , ESP_IdentityWitnessSignature = 10 , ESP_ConsentWitnessSignature = 11 , ESP_InterpreterSignature = 12 , ESP_ReviewSignature = 13 , ESP_SourceSignature = 14 , ESP_AddendumSignature = 15 , ESP_ModificationSignature = 16 , ESP_AdministrativeSignature = 17 , ESP_TimestampSignature = 18 } |
| purpose of digital signature as defined in DICOM BCID 7007. More... | |
Static Public Member Functions | |
| static const char * | getCodeValue (E_SignaturePurposeType purpose) |
| return the code value for the given signature purpose More... | |
| static const char * | getCodeMeaning (E_SignaturePurposeType purpose) |
| return the code meaning for the given signature purpose More... | |
| static const char * | getCodingSchemeDesignator (E_SignaturePurposeType purpose) |
| return the coding scheme designator for the given signature purpose More... | |
| static OFCondition | insertDigitalSignaturePurposeCodeSQ (DcmItem &seqItem, E_SignaturePurposeType sigPurpose) |
| insert a digital signature purpose code sequence into the given DICOM item More... | |
| static E_SignaturePurposeType | determineOverridePurpose (E_SignaturePurposeType currentPurpose, E_SignaturePurposeType overridePurpose) |
| determine the signature purpose to be used, and prints a warning to the logger if an override required by the signature profile causes the user selection to be ignored. More... | |
| static E_SignaturePurposeType | lookup (size_t num) |
| look-up signature purpose enum by number More... | |
| static void | printSignatureCodes (STD_NAMESPACE ostream &out) |
| print a list of all signature purpose codes supported by this helper class. More... | |
Helper class for the Digital Signature Purpose Code Sequence.
purpose of digital signature as defined in DICOM BCID 7007.
|
static |
determine the signature purpose to be used, and prints a warning to the logger if an override required by the signature profile causes the user selection to be ignored.
| currentPurpose | signature purpose selected by the user |
| overridePurpose | override signature purpose required by the signature profile |
|
static |
return the code meaning for the given signature purpose
|
static |
return the code value for the given signature purpose
|
static |
return the coding scheme designator for the given signature purpose
|
static |
insert a digital signature purpose code sequence into the given DICOM item
| seqItem | item into which the sequence is inserted. This should be an item of the DigitalSignaturesSequence. |
| sigPurpose | signature purpose. If the purpose is ESP_none, nothing will be inserted and this method will immediately return with EC_Normal |
|
static |
look-up signature purpose enum by number
| num | number, 0 for ESP_none, 1 for ESP_AuthorsSignature etc. |
|
static |
print a list of all signature purpose codes supported by this helper class.
This is used by dcmsign –list-purposes.
| out | output stream to print to |