MoveSignature method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short MoveSignature(long lIndex);

Overview

Refer to Working with Digital Signatures.

Remarks

The MoveSignature method updates the CurrentElement property with the Digital Signatures Sequence Item that corresponds to the Digital Signature at the specified index. If the required Digital Signature exists in the main Data Set, the CurrentElement property must be set to 0 before calling the method. Similarly, if the required Digital Signature exists in an Item of a Sequence of Items in the Data Set, the CurrentElement property must be set to that Item before calling the method.

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 update the CurrentElement property with that Digital Signatures Sequence Item.

Along with this method, the GetSignaturesCount method can be used to enumerate the Digital Signatures in the main Data Set or in an Item of a Sequence of Items. Once the CurrentElement property is updated with the Digital Signatures Sequence Item, the following methods can be used to verify, delete, or get information about the Digital Signature:

VerifySignature method

DeleteSignature method

GetSignatureUID method

GetSignatureDateTime method

GetSignedElementsCount method

MoveSignedElement method

GetMacTransferSyntax method

GetMacAlgorithm method

SaveCertificate method

You can also use the FindSignature method to search the whole Data Set for a specific Digital Signature.

See Also

Elements:

GetSignaturesCount method, FindSignature method, VerifySignature method, DeleteSignature method, GetSignatureUID method, GetSignatureDateTime method, GetSignedElementsCount method, MoveSignedElement method, GetMacTransferSyntax method, GetMacAlgorithm method, SaveCertificate method, CreateSignature method, CurrentElement property

Topics:

Data Sets: Digital Signatures