[]
Represents read-only details of a digital signature.
Use this interface to read signature metadata returned by Details, including the signature image or text, certificate information, and the values shown in the Signature Details and Additional Information dialogs. This interface exposes the persisted signature data without allowing it to be modified.
public interface IReadOnlySignatureDetails
Public Interface IReadOnlySignatureDetails
ISignature signature = workbook.Signatures[0];
IReadOnlySignatureDetails details = signature.Details;
string signatureText = details.SignatureText;
X509Certificate certificate = details.SignatureCertificate;
| Name | Description |
|---|---|
| Address1 | Gets the "address1" field in the signature details dialog. This value is part of the signature metadata exposed by Details. |
| Address2 | Gets the "address2" field in the signature details dialog. Use this property to read the second address line stored in the signature metadata returned by Details. |
| ApplicationVersion | Gets the "application version" field in the additional information dialog. Use this property to read the application version stored in the signature metadata returned by Details. |
| CertificateDigestMethod | Gets the hash method of the checksum of the certificate. Use this property to read the digest algorithm name stored with the certificate checksum in the signature details returned by Details. |
| CertificateDigestValue | Gets the checksum of the certificate. Use this property to read the certificate checksum bytes stored in the signature details returned by Details. Use CertificateDigestMethod to determine the digest algorithm associated with this checksum. |
| CertificateIssuerName | Gets the issuer name of the certificate. Returns the issuer name from the certificate associated with this signature's read-only details. |
| CertificateSerialNumber | Gets the serial number (in decimal format) of the certificate. This property returns the serial number from the certificate associated with the signature details. |
| City | Gets the "city" field in the signature details dialog. Returns the city value stored in the signature details. |
| ClaimedRole | Gets the "claimed role" field in the signature details dialog. Use this property to read the signer role stored in the signature metadata returned by Details. |
| ColorDepth | Gets the "color depth" field in the additional information dialog. This value is part of the signature details metadata shown in the additional information dialog for a digital signature. |
| CommitmentTypeDescription | Gets the "commitment type description" field in the "sign" dialog. Use this property to read the commitment type description stored in the signature metadata returned by Details. |
| CommitmentTypeQualifier | Gets the "commitment type qualifier" field in the "sign" dialog. This value corresponds to the commitment type qualifier stored in the signature details. |
| CountryName | Gets the "country name" field in the signature details dialog. Use this property to read the country name stored in the signature metadata returned by Details. |
| HorizontalResolution | Gets the "horizontal resolution" field in the additional information dialog. Use this property to read the horizontal display resolution stored in the signature metadata returned by Details. |
| Monitors | Gets the "monitors" field in the additional information dialog. Use this property to read the number of monitors recorded in the signature metadata returned by Details. |
| OfficeVersion | Gets the "office version" field in the additional information dialog. Use this property to read the Office version stored in the signature metadata returned by Details. |
| PostalCode | Gets the "PostalCode" field in the signature details dialog. Use this property to read the postal code stored in the signature metadata returned by Details. |
| SignatureCertificate | Gets the certificate (private key removed) that was used to sign this workbook. Use this property to read the public certificate stored in the signature metadata returned by Details. The returned certificate does not include the private key material. |
| SignatureComments | Gets the "signature comments" field in the signature details dialog. Use this property to read the signature comments stored in the signature metadata returned by Details. |
| SignatureImage | Gets the signature image used to sign the document.
Use this property to read the persisted signature image bytes from the signature metadata
returned by Details. The returned value represents the image that was
used when signing the document and may be |
| SignatureText | Gets the signature text used to sign this document. |
| StateOrProvince | Gets the "state or province" field in the signature details dialog. Use this property to read the state or province stored in the signature metadata returned by Details. |
| VerticalResolution | Gets the "vertical resolution" field in the additional information dialog. |
| WindowsVersion | Gets the "windows version" field in the additional information dialog. Use this property to read the Windows version metadata stored in the signature details returned by Details. |