Class BatchSignResult
- Namespace
- SimpleSign.PAdES.Signing
- Assembly
- SimpleSign.PAdES.dll
Result of a single batch signing operation.
public sealed record BatchSignResult : IEquatable<BatchSignResult>
- Inheritance
-
BatchSignResult
- Implements
- Inherited Members
Constructors
BatchSignResult(string, byte[]?, Exception?)
Result of a single batch signing operation.
public BatchSignResult(string Id, byte[]? SignedPdf, Exception? Error)
Parameters
IdstringIdentifier of the input PDF.
SignedPdfbyte[]Signed PDF bytes, or null if signing failed.
ErrorExceptionException if signing failed, or null on success.
Properties
Error
Exception if signing failed, or null on success.
public Exception? Error { get; init; }
Property Value
Id
Identifier of the input PDF.
public string Id { get; init; }
Property Value
IsSuccess
Whether the signing operation succeeded.
public bool IsSuccess { get; }
Property Value
SignedPdf
Signed PDF bytes, or null if signing failed.
public byte[]? SignedPdf { get; init; }
Property Value
- byte[]