LEADTOOLS Medical (Leadtools.Dicom assembly)

GetSignature Method

Show in webframe







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.
The zero-based index of the required Digital Signature. This should be a number from 0 to GetSignaturesCount - 1.
Returns the Digital Signatures Sequence Item that corresponds to the Digital Signature at the specified index.
Syntax
public DicomElement GetSignature( 
   DicomElement item,
   int index
)
'Declaration
 
Public Function GetSignature( _
   ByVal item As DicomElement, _
   ByVal index As Integer _
) As DicomElement
'Usage
 
Dim instance As DicomDataSet
Dim item As DicomElement
Dim index As Integer
Dim value As DicomElement
 
value = instance.GetSignature(item, index)
public DicomElement GetSignature( 
   DicomElement item,
   int index
)

            

            
 function Leadtools.Dicom.DicomDataSet.GetSignature( 
   item ,
   index 
)
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.
Remarks
For each Digital Signature in the main Data Set or in an item of a sequence of items, there should be a corresponding item under the Digital Signatures sequence (FFFA,FFFA) located in the main Data Set or in the item. This method can be used to obtain that Digital Signatures Sequence Item.

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:

VerifySignature

DeleteSignature

GetSignatureUID

GetSignatureDateTime

GetSignedElementsCount

GetSignedElement

GetMacTransferSyntax

GetMacAlgorithm

SaveCertificate

Call the FindSignature method, to search the whole Data Set for a specific Digital Signature.

Example
For an example, refer to GetSignaturesCount.
Requirements

Target Platforms

See Also

Reference

DicomDataSet Class
DicomDataSet 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

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features