Class DeferredSigningPrepareResult
- Namespace
- SimpleSign.PAdES
- Assembly
- SimpleSign.PAdES.dll
Result of the deferred signing preparation phase.
public sealed class DeferredSigningPrepareResult
- Inheritance
-
DeferredSigningPrepareResult
- Inherited Members
Properties
DigestAlgorithm
Name of the digest algorithm used (e.g., "SHA256").
public required string DigestAlgorithm { get; init; }
Property Value
HashToSign
DER-encoded signed attributes to be signed by the external signer. The external signer should sign these bytes directly (e.g., RSA PKCS#1 v1.5, ECDSA).
public required byte[] HashToSign { get; init; }
Property Value
- byte[]
SessionData
Serialized session data. Store this on the server (Redis, DB, etc.) and pass it to CompleteAsync(byte[], byte[], DeferredSigningCompleteOptions?, ILogger?, CancellationToken) when the signature arrives.
public required byte[] SessionData { get; init; }
Property Value
- byte[]
SignatureAlgorithmOid
OID of the expected signature algorithm (e.g., "1.2.840.113549.1.1.11" for RSA-SHA256).
public required string SignatureAlgorithmOid { get; init; }