public class DigitalSignaturesSequenceItem extends Item
| Modifier and Type | Method and Description |
|---|---|
ISingleCollection<byte[]> |
getCertificateOfSigner()
Retrieves a certificate that holds the identity of the entity producing this Digital Signature, that entity�s
public key or key identifier, and the algorithm and associated parameters with which that
public key is to be used.
|
java.lang.String |
getCertificateType()
Retrieves the type of certificate used in (0400,0115).
|
ISingleCollection<byte[]> |
getCertifiedTimestamp()
Retrieves a certified timestamp of the Digital Signature (0400,0120) Attribute Value, which shall be
obtained when the Digital Signature is created.
|
java.lang.String |
getCertifiedTimestampType()
Retrieves the type of certified timestamp used in the Certified Timestamp (0400,0310) Attribute.
|
java.lang.String |
getDigitalSignatureDateTime()
Retrieves date and time the Digital Signature was created.
|
java.lang.String |
getDigitalSignatureUID()
Retrieves a UID that can be used to uniquely reference this signature.
|
short |
getMACIDNumber()
Retrieves a number used to identify which MAC Parameters Sequence item.
|
ISingleCollection<byte[]> |
getSignature()
Retrieves the MAC generated and encrypted using the algorithm,parameters, and private key associated with
the Certificate of the Signer (0400,0115).
|
void |
setCertificateOfSigner(ISingleCollection<byte[]> vectCertificateOfSigner)
Sets a certificate that holds the identity of the entity producing this Digital Signature, that entity�s
public key or key identifier, and the algorithm and associated parameters with which that
public key is to be used.
|
void |
setCertificateType(java.lang.String strCertificateType)
Sets the type of certificate used in (0400,0115).
|
void |
setCertifiedTimestamp(ISingleCollection<byte[]> vectCertifiedTimestamp)
Sets a certified timestamp of the Digital Signature (0400,0120) Attribute Value, which shall be
obtained when the Digital Signature is created.
|
void |
setCertifiedTimestampType(java.lang.String strCertifiedTimestampType)
Sets the type of certified timestamp used in the Certified Timestamp (0400,0310) Attribute.
|
void |
setDigitalSignatureDateTime(java.lang.String strDigitalSignatureDateTime)
Sets the date and time the Digital Signature was created.
|
void |
setDigitalSignatureUID(java.lang.String strDigitalSignatureUID)
Sets a UID that can be used to uniquely reference this signature.
|
void |
setMACIDNumber(short shMACIDNumber)
Sets a number used to identify which MAC Parameters Sequence item was used in the calculation of this Digital Signature.
|
void |
setSignature(ISingleCollection<byte[]> vectSignature)
Sets the MAC generated and encrypted using the algorithm,parameters, and private key associated with
the Certificate of the Signer (0400,0115).
|
boolean |
validateForModule()
Validates all the attributes in Digital Signatures Sequence Item that are present in the DataSet
|
addDataElement, changeToUndefined, clone, contains, dumpDICOMInfo, getDataForTag, getDictionaryReader, getItemLength, getTransferSyntax, getValue, getValueLength, iterator, read, setDictionaryReader, setTransferSyntax, setValue, sortedIterator, validate, writepublic void setMACIDNumber(short shMACIDNumber)
shMACIDNumber - short value of MAC ID Number.public short getMACIDNumber()
public void setDigitalSignatureUID(java.lang.String strDigitalSignatureUID)
strDigitalSignatureUID - String value of Digital Signature UID.public java.lang.String getDigitalSignatureUID()
public void setDigitalSignatureDateTime(java.lang.String strDigitalSignatureDateTime)
strDigitalSignatureDateTime - String value of Digital Signature DateTime.public java.lang.String getDigitalSignatureDateTime()
public void setCertificateType(java.lang.String strCertificateType)
strCertificateType - String value of Certificate Type.public java.lang.String getCertificateType()
public void setCertificateOfSigner(ISingleCollection<byte[]> vectCertificateOfSigner)
vectCertificateOfSigner - Collection of byte array of Certificate Of Signer values.public ISingleCollection<byte[]> getCertificateOfSigner()
public void setSignature(ISingleCollection<byte[]> vectSignature)
vectSignature - collection of byte array of Signature values.public ISingleCollection<byte[]> getSignature()
public void setCertifiedTimestampType(java.lang.String strCertifiedTimestampType)
strCertifiedTimestampType - String value of Certified Timestamp Type.public java.lang.String getCertifiedTimestampType()
public void setCertifiedTimestamp(ISingleCollection<byte[]> vectCertifiedTimestamp)
vectCertifiedTimestamp - collection of byte array of Certified Timestamppublic ISingleCollection<byte[]> getCertifiedTimestamp()
public boolean validateForModule()
throws InvalidItemException
validateForModule in interface IItemvalidateForModule in class ItemInvalidItemException - throws InvalidItemException If Mandatory or Conditional element fails.