LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

GetSignedElementsCount Method








The Digital Signatures Sequence Item that corresponds to the Digital Signature. This cannot be null.
Returns the number of Data Elements covered by the specified Digital Signature. .NET support WinRT support
Syntax
public int GetSignedElementsCount( 
   DicomElement signatureItem
)
'Declaration
 
Public Function GetSignedElementsCount( _
   ByVal signatureItem As DicomElement _
) As Integer
'Usage
 
Dim instance As DicomDataSet
Dim signatureItem As DicomElement
Dim value As Integer
 
value = instance.GetSignedElementsCount(signatureItem)
public int GetSignedElementsCount( 
   DicomElement signatureItem
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomDataSet.GetSignedElementsCount( 
   signatureItem 
)
public:
int GetSignedElementsCount( 
   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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomDataSet Class
DicomDataSet Members
GetSignedElement Method
GetSignature Method
FindSignature Method
GetSignatureUID Method
GetSignatureDateTime Method
GetMacTransferSyntax Method
GetMacAlgorithm Method
SaveCertificate Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 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