Interface ISignatureManifestProvider
- Namespace
- SimpleSign.Core.Extensions
- Assembly
- SimpleSign.Core.dll
Builds and parses signature manifests — structured metadata embedded as CMS signed attributes. Each country/regulation can define its own manifest format and OID.
public interface ISignatureManifestProvider
Properties
ManifestOid
OID used to identify this manifest type in CMS signed attributes.
string ManifestOid { get; }
Property Value
Methods
BuildManifest(SignerContext)
Builds a manifest from the signing context and returns the DER-encoded attribute value.
byte[] BuildManifest(SignerContext context)
Parameters
contextSignerContext
Returns
- byte[]
ParseManifest(ReadOnlySpan<byte>)
Parses a manifest from raw bytes extracted from a CMS signed attribute. Returns null if the data is not a valid manifest for this provider.
object? ParseManifest(ReadOnlySpan<byte> data)
Parameters
dataReadOnlySpan<byte>