GetSignaturesCount method (ILEADDicomDS Interface)
long GetSignaturesCount(); | |
Overview |
Refer to Working with Digital Signatures. |
Remarks
The GetSignaturesCount method returns the number of Digital Signatures in the main Data Set or in an Item of a Sequence of Items. Before calling the method, the CurrentElement property must be updated either with 0 or with an Item of a Sequence of Items in the Data Set. If the property is updated with 0, the method returns the number of Digital Signatures in the main Data Set. If the property is updated with an Item, the method returns the number of Digital Signatures in the Item.
The method computes the number of Digital Signatures by counting the number of Items under the Digital Signatures Sequence (FFFA,FFFA) which is located under the Item specified by the CurrentElement property or on the root of the Data Set if the property is set to 0. The method returns 0 if this Sequence doesn’t exist.
One way of enumerating the Digital Signatures in the main Data Set or in an Item of a Sequence of Items is by using this function along with the MoveSignature method.
See Also
Elements: |
MoveSignature method, FindSignature method, CreateSignature method, CurrentElement property |
Topics: |