- item
- The item in which the required Digital Signature is located. Set this parameter to null if the Digital Signature is located in the main Data Set.
- index
- The zero-based index of the required Digital Signature. This should be a number from 0 to GetSignaturesCount - 1.
Visual Basic (Declaration) | |
---|---|
Public Function GetSignature( _ ByVal item As DicomElement, _ ByVal index As Integer _ ) As DicomElement |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomDataSet Dim item As DicomElement Dim index As Integer Dim value As DicomElement value = instance.GetSignature(item, index) |
C# | |
---|---|
public DicomElement GetSignature( DicomElement item, int index ) |
C++/CLI | |
---|---|
public: DicomElement^ GetSignature( DicomElement^ item, int index ) |
Parameters
- item
- The item in which the required Digital Signature is located. Set this parameter to null if the Digital Signature is located in the main Data Set.
- index
- The zero-based index of the required Digital Signature. This should be a number from 0 to GetSignaturesCount - 1.
Return Value
The Digital Signatures Sequence Item that corresponds to the required Digital Signature, or a null reference (Nothing in Visual Basic) if the specified index is invalid.Along with this method, call the GetSignaturesCount method to enumerate the Digital Signatures in the main Data Set or in an item of a sequence of items. Once the Digital Signatures Sequence Item is obtained, the following methods can be used to verify, delete, or get information about the Digital Signature:
Leadtools.Dicom.DicomDataSet.VerifySignature
Leadtools.Dicom.DicomDataSet.DeleteSignature
Leadtools.Dicom.DicomDataSet.GetSignatureUID
Leadtools.Dicom.DicomDataSet.GetSignatureDateTime
Leadtools.Dicom.DicomDataSet.GetSignedElement
Leadtools.Dicom.DicomDataSet.GetMacTransferSyntax
Call the FindSignature method, to search the whole Data Set for a specific Digital Signature.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
Reference
DicomDataSet ClassDicomDataSet Members
GetSignaturesCount Method
FindSignature Method
VerifySignature Method
DeleteSignature Method
GetSignatureUID Method
GetSignatureDateTime Method
GetSignedElementsCount Method
GetSignedElement Method
GetMacTransferSyntax Method
GetMacAlgorithm Method
SaveCertificate Method
CreateSignature Method