- 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.
Visual Basic (Declaration) | |
---|---|
Public Sub SaveCertificate( _ ByVal signatureItem As DicomElement, _ ByVal fileName As String, _ ByVal format As DicomCertificateFormat _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomDataSet Dim signatureItem As DicomElement Dim fileName As String Dim format As DicomCertificateFormat instance.SaveCertificate(signatureItem, fileName, format) |
C# | |
---|---|
public void SaveCertificate( DicomElement signatureItem, string fileName, DicomCertificateFormat format ) |
C++/CLI | |
---|---|
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.
For an example, refer to Leadtools.Dicom.DicomDataSet.VerifySignature.
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:
Leadtools.Dicom.DicomDataSet.GetSignatureUID
Leadtools.Dicom.DicomDataSet.GetSignatureDateTime
Leadtools.Dicom.DicomDataSet.GetSignedElement
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)