←Select platform

GetSignedElementsCount Method

Summary

Returns the number of Data Elements covered by the specified Digital Signature.

Syntax

C#
VB
WinRT C#
C++
public int GetSignedElementsCount(  
   Leadtools.Dicom.DicomElement signatureItem 
) 
Public Function GetSignedElementsCount( _ 
   ByVal signatureItem As Leadtools.Dicom.DicomElement _ 
) As Integer 
public int GetSignedElementsCount(  
   Leadtools.Dicom.DicomElement signatureItem 
) 
 function Leadtools.Dicom.DicomDataSet.GetSignedElementsCount(  
   signatureItem  
) 
public: 
int GetSignedElementsCount(  
   Leadtools.Dicom.DicomElement^ signatureItem 
)  

Parameters

signatureItem
The Digital Signatures Sequence Item that corresponds to the Digital Signature. This cannot be null.

Return Value

The number of Data Elements covered by the specified Digital Signature.

Remarks

The Digital Signatures Sequence Item of a Digital Signature should reference an item under the Message Authentication Code (MAC) Parameters Sequence associated with the Digital Signatures Sequence. The Data Elements Signed (0400,0020) under the referenced MAC Parameters Sequence Item specifies the signed Data Elements. Call this method to obtain the number of Data Elements specified by this Data Element. Along with this method, call the GetSignedElement method to enumerate the Data Elements covered by the Digital Signature.

The following methods can also be used to get information about the Digital Signature:

GetSignatureUID

GetSignatureDateTime

GetMacTransferSyntax

GetMacAlgorithm

SaveCertificate

Example

For an example, refer to VerifySignature.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize