[]
Provides additional signature metadata for signing operations.
Use this class to supply the details passed to Sign(X509Certificate2, string, SignatureDetails), Sign(X509Certificate2, Stream, SignatureDetails), or Sign(X509Certificate2, SignatureDetails).
Mirrors the Java SignatureDetails class. This class is used when calling sign
methods to pass signing metadata, and represents the SignatureInfoV1, SignatureInfoV2, and
XAdES data written with the signature.
public class SignatureDetails
Public Class SignatureDetails
SignatureDetails details = new SignatureDetails();
details.SignatureComments = "Approved";
details.ClaimedRole = "Reviewer";
details.CommitmentTypeDescription = "Approved this document";
| Name | Description |
|---|---|
| SignatureDetails() |
| Name | Description |
|---|---|
| Address1 | Gets or sets the "address1" field in the signature details dialog. Use this property to read the first address line stored in these signature details, such as a street address or post office box. |
| Address2 | Gets or sets the second address line in the signature details dialog. Use this property to read additional address information for the signer, such as a suite, apartment, building, or floor. |
| ApplicationVersion | Gets the "application version" field in the additional information dialog. Use this property to retrieve the application version string stored in this SignatureDetails instance for a digital signature. |
| City | Gets or sets the "city" field in the signature details dialog. Use this property to retrieve the city metadata stored in this SignatureDetails instance before applying a digital signature. |
| ClaimedRole | Gets or sets the claimed role field in the signature details dialog. Use this property to retrieve the signer role metadata stored in this SignatureDetails instance for a digital signature. |
| ColorDepth | Gets the color depth field in the additional information dialog. This value represents the color depth stored in these signature details for use when displaying signature-related additional information. |
| CommitmentTypeDescription | Gets or sets the "commitment type description" field in the signature details dialog. Use this property to read the description text for the commitment type stored in these SignatureDetails. |
| CommitmentTypeQualifier | Gets or sets the "commitment type qualifier" field in the signature details dialog. Use this property to retrieve the qualifier text associated with the commitment type stored in this SignatureDetails instance. |
| CountryName | Gets or sets the country name field in the signature details dialog. Use this property to read the country or region information stored in this SignatureDetails instance for a digital signature. |
| HorizontalResolution | Gets the "horizontal resolution" field in the additional information dialog. Use this property to read the horizontal display resolution stored in these signature details. |
| Monitors | Gets the "monitors" field in the additional information dialog. This value represents the number of monitors associated with the signature's additional information. |
| OfficeVersion | Gets the "office version" field in the additional information dialog. Use this property to retrieve the Microsoft Office version metadata stored in this SignatureDetails instance for a digital signature. |
| PostalCode | Gets or sets the "postal code" field in the signature details dialog. Use this property to read the postal or ZIP code stored in the signer details for a digital signature. |
| SignatureComments | Gets or sets the signature comments entered in the sign dialog. Use this property to retrieve the comment text stored in this SignatureDetails instance for a digital signature. |
| StateOrProvince | Gets or sets the state or province field in the signature details dialog. Use this property to retrieve the region value associated with a SignatureDetails instance before applying a digital signature. |
| VerticalResolution | Gets the "vertical resolution" field in the additional information dialog. Use this property to read the vertical resolution metadata stored in SignatureDetails for a digital signature. |
| WindowsVersion | Gets the "windows version" field in the additional information dialog. Use this property to read the Windows version metadata stored in these signature details. |