GetSignedElementsCount method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

long GetSignedElementsCount();

Overview

Refer to Working with Digital Signatures.

Remarks

The GetSignedElementsCount method returns the number of Data Elements covered by the Digital Signature specified by the CurrentElement property. The CurrentElement property must be updated with the corresponding Digital Signatures Sequence Item before calling the method.

The Digital Signatures Sequence Item of a Digital Signature should reference an Item under the 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. You can use this method to obtain the number of Data Elements specified by this Data Element.

Along with this method, the MoveSignedElement method can be used 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 method

GetSignatureDateTime method

GetMacTransferSyntax method

GetMacAlgorithm method

SaveCertificate method

See Also

Elements:

MoveSignedElement method, MoveSignature method, FindSignature method, GetSignatureUID method, GetSignatureDateTime method, GetMacTransferSyntax method, GetMacAlgorithm method, SaveCertificate method, CurrentElement property

Topics:

Data Sets: Digital Signatures