LDicomDS::GetSignatureDateTime

#include "ltdic.h"

pVALUEDATETIME LDicomDS::GetSignatureDateTime(pSignatureItem)

pDICOMELEMENT pSignatureItem;

/* pointer to a Digital Signatures Sequence Item */

Returns the Digital Signature DateTime (0400,0105) of the specified Digital Signature.

Parameter

Description

pSignatureItem

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

Returns

Pointer to a VALUEDATETIME structure that specifies the Digital Signature DateTime (0400,0105) of the specified Digital Signature. The return value can be NULL.

Comments

The Digital Signature DateTime (0400,0105) under the Digital Signatures Sequence Item of a Digital Signature specifies the date and time the Digital Signature was created. You can use this function to obtain the value of this Data Element.

In addition to this function, the following functions can be used to get information about the Digital Signature:

LDicomDS::GetSignatureUID

LDicomDS::GetSignedElementsCount

LDicomDS::GetSignedElement

LDicomDS::GetMacTransferSyntax

LDicomDS::GetMacAlgorithm

LDicomDS::SaveCertificate

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

LDicomDS::GetSignature, LDicomDS::FindSignature, LDicomDS::GetSignatureUID, LDicomDS::GetSignedElementsCount, LDicomDS::GetSignedElement, LDicomDS::GetMacTransferSyntax, LDicomDS::GetMacAlgorithm, LDicomDS::SaveCertificate, Class Members

Topics:

Working with Digital Signatures

Example

For an example, refer to LDicomDS::VerifySignature.