Table of Contents

Namespace SimpleSign.Core.Signing

Classes

AdesBaselineProfile

A complete, strongly typed request for an ETSI baseline conformance level. The factories encode the cumulative B-B → B-T → B-LT → B-LTA dependency graph, so invalid level combinations cannot be constructed.

ArchiveTimestampOptions

Configuration for the archive timestamp (B-LTA). When Endpoint is null, the signature timestamp endpoint and provider from TimestampOptions are reused.

ExternalSigningRequest

An explicit, self-describing external signing request. Adapters for HSMs, cloud KMS, and A3 tokens can safely implement the contract without container-specific guesswork.

LongTermValidationOptions

Configuration for collecting and embedding long-term validation material (certificate and revocation values) required by B-LT and higher.

ResolvedSigningAlgorithm

The complete, effective signature selection used for one signing operation.

RsaPssParameters

The RSASSA-PSS parameters required to reproduce a signature operation.

SigningAlgorithmResolver

Resolves one coherent digest, signature OID, and PSS convention for a signing operation.

SigningException

Thrown when a signing operation fails due to invalid completed configuration, certificate, timestamp, LTV, or CMS construction issues.

SigningWarning

A non-fatal warning raised during a signing operation, carrying a stable machine-readable code and a human-readable message.

TimestampException

Thrown when a timestamp authority (TSA) operation fails — for example, when the TSA is unreachable, returns an invalid response, or the response nonce does not match.

TimestampOptions

Configuration for the signature timestamp (TSA) required by B-T and higher.

Interfaces

IExternalSigner

Signs the payload of an ExternalSigningRequest and returns the raw signature bytes (not a CMS or XML container).

ISigningResult

Common result contract for AdES signing operations across PAdES, CAdES, and XAdES.

Enums

AdesBaselineLevel

ETSI baseline conformance levels for AdES signatures (ETSI EN 319 102-1, Annex B).

CommitmentType

CAdES/XAdES commitment type indication (RFC 5126 §5.11.1). Indicates the type of commitment assumed by the signer.

ExternalSigningPayloadKind

Identifies the kind of payload handed to an IExternalSigner.

SigningErrorReason

Stable machine-readable reason codes for SigningException.

SigningLevelFailureBehavior

Defines how a signing operation behaves when the requested baseline level cannot be fully produced.

SigningWarningCode

Stable machine-readable codes for non-fatal signing warnings. Callers can automate decisions on these codes without parsing human-readable messages.