Namespace SimpleSign.Core.Extensions
Classes
- ChainValidationResult
Result of a country/regulation-specific chain validation.
- SignatureMetadata
Generic signer metadata for any country/regulation. Country-specific types can map to this via extension methods.
- SignerContext
Context passed to BuildManifest(SignerContext) during signing. Contains signer metadata needed to build the manifest.
Interfaces
- IChainValidationProvider
Performs country/regulation-specific certificate chain validation beyond standard X.509 path building (e.g., ICP-Brasil policy OID mapping, Gov.br assurance level detection, EU Trusted List verification).
- ICountryExtension
Aggregates all country/regulation-specific extension points into a single registration unit. Implement this interface to provide a complete country package (e.g., SimpleSign.Brasil, SimpleSign.EU). Register via
SignerBuilder.WithCountryExtension<T>()or DI.
- ISignatureManifestProvider
Builds and parses signature manifests — structured metadata embedded as CMS signed attributes. Each country/regulation can define its own manifest format and OID.
- ITrustAnchorProvider
Provides trust anchor (root CA) certificates for a specific region or organization. Implementations bundle root certificates that are automatically loaded during validation.