LDicomDS::GetSignedElementsCount

Summary

Returns the number of Data Elements covered by the specified Digital Signature.

Syntax

#include "ltdic.h"

L_UINT32 LDicomDS::GetSignedElementsCount(pSignatureItem)

Parameters

pDICOMELEMENT pSignatureItem

Pointer to a DICOMELEMENT structure that specifies the Digital Signatures Sequence Item which corresponds to the Digital Signature. This cannot be NULL.

Returns

The number of Data Elements covered by the specified Digital Signature.

Comments

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. You can use this function to obtain the number of Data Elements specified by this Data Element.

Along with this function, the LDicomDS::GetSignedElement function can be used to enumerate the Data Elements covered by the Digital Signature.

The following functions can also be used to get information about the Digital Signature:

LDicomDS::GetSignatureUID

LDicomDS::GetSignatureDateTime

LDicomDS::GetMacTransferSyntax

LDicomDS::GetMacAlgorithm

LDicomDS::SaveCertificate

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomDS::VerifySignature.

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.