VerifySignature method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short VerifySignature(short nReserved);

Overview

Refer to Working with Digital Signatures.

Remarks

The VerifySignature method verifies Digital Signatures in the Data Set. Before calling the method, the CurrentElement property must be updated either with 0 or with a Digital Signatures Sequence Item. If the property is updated with 0, the method will verify all the Digital Signatures in the whole Data Set. If the property is updated with the Digital Signatures Sequence Item of a Digital Signature, the method will verify only the specified Digital Signature.

When the CurrentElement property is updated with 0, the method will examine all the Digital Signatures that exist in the Data Set. If at least one of these Digital Signatures is invalid, the method will return DICOM_ERROR_INVALID_SIGNATURE and will not examine the remaining Digital Signatures, if there are any.

See Also

Elements:

MoveSignature method, FindSignature method, DeleteSignature method, CreateSignature method, CurrentElement property

Topics:

Data Sets: Digital Signatures