←Select platform

GetSignature Method

Summary

Returns the Digital Signatures Sequence Item that corresponds to the Digital Signature at the specified index.

Syntax

C#
VB
WinRT C#
C++
public DicomElement GetSignature( 
   DicomElement item, 
   int index 
) 
Public Function GetSignature( _ 
   ByVal item As Leadtools.Dicom.DicomElement, _ 
   ByVal index As Integer _ 
) As Leadtools.Dicom.DicomElement 
 function Leadtools.Dicom.DicomDataSet.GetSignature(  
   item , 
   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 VB) 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly