public class DigitalSignaturesMacro extends Macro
| Constructor and Description |
|---|
DigitalSignaturesMacro(IDataSet objDataSet)
This constructor sets the DataSet as the DataHolder for this Macro.
|
DigitalSignaturesMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor sets the Dataset and the specified dictionaryReader into the Macro
It also sets the transfersyntax as same as in Dataset.
|
DigitalSignaturesMacro(IItem objItem)
This constructor sets the Item as the DataHolder for this Macro.
|
DigitalSignaturesMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor sets the Item and the specified dictionaryReader into the Macro
It also sets the transfersyntax as same as in Item.
|
| Modifier and Type | Method and Description |
|---|---|
DigitalSignaturesSequence |
getDigitalSignaturesSequence()
Retrieves pre-initialized object of Digital Signatures Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence
|
MACParametersSequence |
getMACParametersSequence()
Retrieves pre-initialized object of MAC Parameters Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence
|
boolean |
validate()
Validates all the attributes in AcquisitionContextSequenceItem that are present in the DataSet
|
boolean |
validate(IDataSet objIDataSet)
This method checks for the DataElements of the DataSet according to the Digital Signatures Macro
|
boolean |
validate(IItem objIItem)
This method checks for the DataElements of the Item according to the Digital Signatures Macro
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic DigitalSignaturesMacro(IDataSet objDataSet)
objDataSet - Collection of DataElements.public DigitalSignaturesMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - Collection of DataElementsobjDictionaryReader - specifies the DICOM Dictionary reader to be used.public DigitalSignaturesMacro(IItem objItem)
objItem - collection of data elements in a sequence.public DigitalSignaturesMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - collection of data elements in a sequence.objDictionaryReader - specifies the DICOM Dictionary reader to be used.public MACParametersSequence getMACParametersSequence()
public DigitalSignaturesSequence getDigitalSignaturesSequence()
public boolean validate()
throws InvalidMacroException
InvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public boolean validate(IDataSet objIDataSet) throws InvalidMacroException
objIDataSet - object of DataSet for which the the validation is to be done according to the
rules of Digital Signatures MacroInvalidMacroException - Signals Macro Validation is failed.public boolean validate(IItem objIItem) throws InvalidMacroException
objIItem - object of Item for which the the validation is to be done according to the
rules of Digital Signatures MacroInvalidMacroException - Signals Macro Validation is failed.