Table of Contents

Class SignatureManifest

Namespace
SimpleSign.Brasil.Signing
Assembly
SimpleSign.Brasil.dll

Signature Manifest — structured evidence embedded in the CMS signed attributes as a tamper-proof record of the signing act. Contains signer identity, authentication evidence, and institution data. Serialized as JSON and wrapped in a CMS attribute with OID 2.16.76.1.12.1.1.

public sealed class SignatureManifest
Inheritance
SignatureManifest
Inherited Members

Properties

Commitment

CAdES commitment type name.

[JsonPropertyName("commitment")]
public string Commitment { get; init; }

Property Value

string

Evidence

Authentication and evidence data.

[JsonPropertyName("evidence")]
public required ManifestEvidence Evidence { get; init; }

Property Value

ManifestEvidence

Institution

Issuing institution (optional).

[JsonPropertyName("institution")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ManifestInstitution? Institution { get; init; }

Property Value

ManifestInstitution

Law

Legal basis.

[JsonPropertyName("law")]
public string Law { get; init; }

Property Value

string

Signer

Signer information.

[JsonPropertyName("signer")]
public required ManifestSigner Signer { get; init; }

Property Value

ManifestSigner

Type

Signature type identifier.

[JsonPropertyName("type")]
public string Type { get; init; }

Property Value

string

Version

Manifest version.

[JsonPropertyName("v")]
public int Version { get; init; }

Property Value

int

Methods

FromJsonUtf8(ReadOnlySpan<byte>)

Deserializes from UTF-8 JSON bytes (AOT-safe).

public static SignatureManifest? FromJsonUtf8(ReadOnlySpan<byte> utf8Json)

Parameters

utf8Json ReadOnlySpan<byte>

Returns

SignatureManifest

ToJsonUtf8()

Serializes to compact JSON (AOT-safe).

public byte[] ToJsonUtf8()

Returns

byte[]