LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

SaveCertificate Method








The Digital Signatures Sequence Item which corresponds to the Digital Signature. This cannot be null.
Character string that contains the name of the file to which the digital certificate should be saved. If the file already exists, it will be overwritten.
The format in which the digital certificate should be saved.
Saves the signer's digital certificate associated with the specified Digital Signature to a file. .NET support WinRT support
Syntax
public void SaveCertificate( 
   DicomElement signatureItem,
   string fileName,
   DicomCertificateFormat format
)
'Declaration
 
Public Sub SaveCertificate( _
   ByVal signatureItem As DicomElement, _
   ByVal fileName As String, _
   ByVal format As DicomCertificateFormat _
) 
'Usage
 
Dim instance As DicomDataSet
Dim signatureItem As DicomElement
Dim fileName As String
Dim format As DicomCertificateFormat
 
instance.SaveCertificate(signatureItem, fileName, format)
public void SaveCertificate( 
   DicomElement signatureItem,
   string fileName,
   DicomCertificateFormat format
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomDataSet.SaveCertificate( 
   signatureItem ,
   fileName ,
   format 
)
public:
void SaveCertificate( 
   DicomElement^ signatureItem,
   String^ fileName,
   DicomCertificateFormat format
) 

Parameters

signatureItem
The Digital Signatures Sequence Item which corresponds to the Digital Signature. This cannot be null.
fileName
Character string that contains the name of the file to which the digital certificate should be saved. If the file already exists, it will be overwritten.
format
The format in which the digital certificate should be saved.
Remarks
The Certificate of Signer (0400,0115) under the Digital Signatures Sequence Item of a Digital Signature contains the digital certificate of the entity that produced the Digital Signature. Call this method to save this digital certificate to a file.

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

GetSignatureUID

GetSignatureDateTime

GetSignedElementsCount

GetSignedElement

GetMacTransferSyntax

GetMacAlgorithm

Example
For an example, refer to VerifySignature.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomDataSet Class
DicomDataSet Members
GetSignature Method
FindSignature Method
GetSignatureUID Method
GetSignatureDateTime Method
GetSignedElementsCount Method
GetSignedElement Method
GetMacTransferSyntax Method
GetMacAlgorithm Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features