Class PdfDigitalSignatureDetails
Configures a digital signature applied while exporting a PDF.
Inherited Members
Namespace: DRIT.Document.Export.Pdf
Assembly: DRIT.Document.dll
Syntax
public sealed class PdfDigitalSignatureDetails
Constructors
PdfDigitalSignatureDetails(PdfDigitalId, string, string)
Initializes PDF digital signature settings.
Declaration
public PdfDigitalSignatureDetails(PdfDigitalId digitalId, string reason = null, string location = null)
Parameters
| Type | Name | Description |
|---|---|---|
| PdfDigitalId | digitalId | The certificate and private key used to sign. |
| string | reason | Optional signing reason. |
| string | location | Optional signing location. |
Properties
AuthorPermission
Gets or sets the certification permission for the author signature.
Declaration
public PdfUserAccessPermissions AuthorPermission { get; set; }
Property Value
| Type | Description |
|---|---|
| PdfUserAccessPermissions |
DigitalId
Gets the certificate and private key used to sign the PDF.
Declaration
public PdfDigitalId DigitalId { get; }
Property Value
| Type | Description |
|---|---|
| PdfDigitalId |
FieldName
Gets or sets the PDF signature field name.
Declaration
public string FieldName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Height
Gets or sets the visible signature field's height.
Declaration
public double Height { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Location
Gets or sets the signing location written to the PDF signature.
Declaration
public string Location { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageIndex
Gets or sets the zero-based output page index for a visible signature. A negative value creates an invisible signature field.
Declaration
public int PageIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Reason
Gets or sets the signing reason written to the PDF signature.
Declaration
public string Reason { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SignatureFormat
Gets or sets the signature encoding format.
Declaration
public PdfSignatureFormat SignatureFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| PdfSignatureFormat |
SignatureLevel
Gets or sets the requested PAdES profile level.
Declaration
public PdfSignatureLevel SignatureLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| PdfSignatureLevel |
Width
Gets or sets the visible signature field's width.
Declaration
public double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
X
Gets or sets the visible signature field's left coordinate.
Declaration
public double X { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Y
Gets or sets the visible signature field's bottom coordinate.
Declaration
public double Y { get; set; }
Property Value
| Type | Description |
|---|---|
| double |