The `SigningTime` property has been removed from the `PdfSignOptionsDto` class and related client-side input handling. It is now set automatically on the server side based on the `UseUtcSigningTime` configuration (`UtcNow` or local time). Updated the `PdfDigitalSignatureService` to always set `SigningTime` server-side, ensuring consistent and deterministic behavior. Removed `SigningTime` from the `PdfSignatureController` and adjusted the logic to exclude it from the `signOptions` object. Updated the `README.md` to reflect these changes, clarifying that `SigningTime` is now server-side only. These changes improve security and simplify client integration.
15 lines
475 B
C#
15 lines
475 B
C#
using EnvelopeGenerator.Application.Common.Enums;
|
|
|
|
namespace EnvelopeGenerator.Application.Common.Dto;
|
|
|
|
public sealed record PdfSignOptionsDto
|
|
{
|
|
public string? UUID { get; set; }
|
|
public string? Name { get; set; }
|
|
public string? Reason { get; set; }
|
|
public string? Location { get; set; }
|
|
public string? ContactInfo { get; set; }
|
|
public string? ApplicationName { get; set; }
|
|
public PdfSignatureCertificationLevel? CertificationLevel { get; set; }
|
|
}
|